17 class CollidableWallBase;
18 class CollidableWallCylinder;
19 class ParticleHandler;
54 std::vector<SubBox> mSubBoxes;
56 Eigen::Vector3i mDivisions;
66 void AddSpheresToBoxes();
69 std::vector<CollidableWallBase*> GetXYWalls(
unsigned int rIndex);
75 std::vector<Eigen::VectorXd> GetXYCorners(std::vector<CollidableWallBase*> rWalls);
78 unsigned int GetBoxIndex(
int rX,
int rY,
int rZ);
81 Eigen::Vector3d GetSubBoxLength();
void AddSubBox(SubBox &rSubBox)
adds a sub box to the sub box list sub box to add
Definition: SubBoxHandler.cpp:186
std::vector< SubBox > & GetSubBoxes()
getter for the sub box list
Definition: SubBoxHandler.cpp:181
class for Specimen
Definition: Specimen.h:16
void VisualizeBorders(std::string rFile)
visualizes the sub boxes
Definition: SubBoxHandler.cpp:335
SubBoxHandler(ParticleHandler &rSpheres, Specimen &rSpecimen, Eigen::Vector3i rDivisions)
constructor, initializes the handler with a given number of sub box divisions
Definition: SubBoxHandler.cpp:24
void PrintBoxes()
prints all sub boxes and the particles inside of them
Definition: SubBoxHandler.cpp:351
class for sub box handing -> improves the performance without changing the physics ...
Definition: SubBox.h:20
handles the particle list
Definition: ParticleHandler.h:25
builds and handles sub boxes
Definition: SubBoxHandler.h:23
double GetVolume() const
getter for specimen volume
Definition: SubBoxHandler.cpp:346
Definition: Exception.h:6
class for cylindric walls
Definition: CollidableWallCylinder.h:17