88 std::string
getName()
const final;
94 unsigned readTriangleWall(std::string filename,
ParticleSpecies* species,
Mdouble scaleFactor = 1,
Vec3D centerOfRotation = {0,0,0},
Vec3D velocity = {0,0,0},
Vec3D angularVelocity = {0,0,0});
void readAndAddObject(std::istream &is) final
Create a new wall in the WallHandler, based on the information provided in a restart file...
void addObject(BaseWall *W) final
Adds a BaseWall to the WallHandler.
~WallHandler() final
Destructor, it destructs the WallHandler and all BaseWall it contains.
BaseWall * readAndCreateObject(std::istream &is)
Create a new wall, based on the information provided in a restart file.
std::string getName() const final
Returns the name of the handler, namely the string "WallHandler".
void actionsAfterParticleGhostUpdate()
Calls the method actionsAfterParticleGhostUpdate of every wall in the handler.
static BaseWall * createObject(const std::string &type)
Create a new wall, with the type given as a string (required for restarting).
unsigned readTriangleWall(std::string filename, ParticleSpecies *species, Mdouble scaleFactor=1, Vec3D centerOfRotation={0, 0, 0}, Vec3D velocity={0, 0, 0}, Vec3D angularVelocity={0, 0, 0})
Reads triangulated walls from vtk or stl files, and converts them into a set of TriangleWalls.
WallHandler & operator=(const WallHandler &rhs)
Assignment operator that copies the pointer to the DPMBase and all BaseWall in the given WallHandler...
BaseWall * readAndCreateOldObject(std::istream &is)
Create a new wall, based on the information from old-style restart data.
void writeVTKBoundingBox() const
Writes a bounding box around the domain into a vtk file.
WallHandler()
Default constructor, it creates an empty WallHandler.
Container to store the pointers to all objects that one creates in a simulation.
Container to store all BaseWall.