26 #ifndef BaseBoundary_H
27 #define BaseBoundary_H
70 void read(std::istream& is) = 0;
76 void write(std::ostream& os)
const = 0;
Container to store pointers to all BaseBoundary objects.
The DPMBase header includes quite a few header files, defining all the handlers, which are essential...
void write(std::ostream &os) const =0
Adds object's id_ to given ostream NB: purely virtual function, overriding the version of BaseObject...
It is an abstract base class due to the purely virtual functions declared below. Even if the function...
virtual void checkBoundaryBeforeTimeStep(DPMBase *md UNUSED)
Fills a (3D) boundary with particles.
virtual void createPeriodicParticles(BaseParticle *P UNUSED, ParticleHandler &pH UNUSED)
Creates periodic copies of given particle in case of periodic boundaries.
virtual BaseBoundary * copy() const =0
Used to create a copy of the object NB: purely virtual function.
void setHandler(BoundaryHandler *handler)
Sets the boundary's BoundaryHandler.
BoundaryHandler * getHandler() const
Returns the boundary's BoundaryHandler.
Container to store all BaseParticle.
virtual bool checkBoundaryAfterParticleMoved(BaseParticle *P UNUSED, ParticleHandler &pH UNUSED)
Checks if given particle passed the boundary.
BoundaryHandler * handler_
pointer to the boundary's BoundaryHandler
virtual ~BaseBoundary()
destructor
BaseBoundary()
default constructor.
void read(std::istream &is)=0
Reads the object's id_ from given istream NB: purely virtual function, overriding the version of Base...