35 #ifdef DEBUG_CONSTRUCTOR
36 std::cout<<
"BaseBoundary::BaseBoundary() finished"<<std::endl;
48 #ifdef DEBUG_CONSTRUCTOR
49 std::cout<<
"BaseBoundary::BaseBoundary(const BaseBoundary &b) finished"<<std::endl;
58 #ifdef DEBUG_DESTRUCTOR
59 std::cout <<
"BaseBoundary::~BaseBoundary() finished"<<std::endl;
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.
void setHandler(BoundaryHandler *handler)
Sets the boundary's BoundaryHandler.
BoundaryHandler * getHandler() const
Returns the boundary's BoundaryHandler.
virtual void read(std::istream &is)=0
A purely virtual method with an implementation which reads the index from the stream and assigns it t...
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
virtual void write(std::ostream &os) const =0
A purely virtual function which has an implementation which writes the name and the object id_ to the...
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...