void readOldObject(std::istream &is)
Reads a BaseWall into the WallHandler from old-style restart data.
void readObject(std::istream &is)
Reads BaseWall into the WallHandler from restart data.
void writeVTKFile(const VTKContainer vtk) const
Writes the data collected in writeVTK into vtk files, one per timestep.
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.
void addObject(BaseWall *W)
Adds a BaseWall to the WallHandler.
WallHandler operator=(const WallHandler &rhs)
Assignment operator that copies the pointer to the DPMBase and all BaseWall in the given WallHandler...
~WallHandler()
Destructor, it destructs the WallHandler and all BaseWall it contains.
void writeVTK() const
Writes all walls into a vtk format, consisting of points (edges) and cells (faces).
std::string getName() const
Returns the name of the handler, namely the string "WallHandler".