51 if(type.compare(
"PeriodicBoundary")==0)
57 else if(type.compare(
"DeletionBoundary")==0)
63 else if(type.compare(
"CircularPeriodicBoundary")==0)
66 is>>circularPeriodicBoundary;
71 std::cerr<<
"Boundary type: "<<type<<
" not understood in restart file"<<std::endl;
virtual void addObject(T *O)
Adds a new Object to the BaseHandler.
void copyAndAddObject(const BaseBoundary &O)
Creates a copy of a Object and adds it to the BaseHandler.
BaseBoundary * getLastObject() const
Gets a pointer to the last Object in this BaseHandler.
Defines a pair of periodic walls. The particles are in {x: position_left<=normal*x
Defines a pair of periodic walls. The particles are in {x: position_left<=normal*x
void readObject(std::istream &is)
Reads BaseBoundary into the BoundaryHandler from restart data.
void setHandler(BoundaryHandler *handler)
void addObject(BaseBoundary *P)
Adds a BaseBoundary to the BoundaryHandler.