MercuryDPM
0.10
|
#include <InsertionBoundary.h>
Public Member Functions | |
virtual InsertionBoundary * | copy () const |
BaseBoundary copy method. More... | |
void | set (Vec3D posMin, Vec3D posMax, Vec3D velMin, Vec3D velMax, Mdouble radMin, Mdouble radMax, int maxFailed) |
virtual void | checkBoundaryActionsBeforeTimeStep (ParticleHandler &pH, WallHandler &wH, RNG &random) |
void | read (std::istream &is) |
reads wall More... | |
void | print (std::ostream &os) const |
outputs wall More... | |
![]() | |
virtual | ~BaseBoundary () |
virtual int | createPeriodicParticles (BaseParticle *P UNUSED, ParticleHandler &pH UNUSED) |
virtual bool | checkBoundaryAfterParticleMoved (BaseParticle *P UNUSED, ParticleHandler &pH UNUSED) |
virtual void | checkBoundaryActionsBeforeTimeStep (ParticleHandler &pH UNUSED, WallHandler &wH UNUSED, RNG &random UNUSED) |
void | set_Index (int index) |
void | set_Id (int id) |
void | setHandler (BoundaryHandler *handler) |
virtual void | read (std::istream &is UNUSED)=0 |
reads boundary More... | |
virtual void | print (std::ostream &os UNUSED) const =0 |
outputs boundary More... | |
virtual void | moveInHandler (int newPos) |
Public Attributes | |
Vec3D | posMin_ |
Vec3D | posMax_ |
Vec3D | velMin_ |
Vec3D | velMax_ |
Mdouble | radMin_ |
Mdouble | radMax_ |
int | maxFailed_ |
Definition at line 31 of file InsertionBoundary.h.
|
inlinevirtual |
Definition at line 53 of file InsertionBoundary.h.
References WallHandler::begin(), BaseHandler< T >::begin(), BaseHandler< T >::copyAndAddObject(), WallHandler::end(), BaseHandler< T >::end(), BaseParticle::get_Position(), BaseParticle::get_Radius(), RNG::get_RN(), maxFailed_, posMax_, posMin_, radMax_, radMin_, BaseParticle::set_inertia(), BaseParticle::set_Mass(), BaseParticle::set_Position(), BaseParticle::set_Radius(), BaseParticle::set_Velocity(), sqr, velMax_, velMin_, Vec3D::X, Vec3D::Y, and Vec3D::Z.
|
inlinevirtual |
BaseBoundary copy method.
It calls the copy constructor of this BaseBoundary, useful for polymorphism todo{Does this work correctly?}
Implements BaseBoundary.
Definition at line 34 of file InsertionBoundary.h.
|
inline |
outputs wall
Definition at line 134 of file InsertionBoundary.h.
References maxFailed_, posMax_, posMin_, radMax_, radMin_, velMax_, and velMin_.
|
inline |
|
inline |
Definition at line 42 of file InsertionBoundary.h.
References maxFailed_, posMax_, posMin_, radMax_, radMin_, velMax_, and velMin_.
int InsertionBoundary::maxFailed_ |
Definition at line 148 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().
Vec3D InsertionBoundary::posMax_ |
Definition at line 145 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().
Vec3D InsertionBoundary::posMin_ |
Definition at line 145 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().
Mdouble InsertionBoundary::radMax_ |
Definition at line 147 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().
Mdouble InsertionBoundary::radMin_ |
Definition at line 147 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().
Vec3D InsertionBoundary::velMax_ |
Definition at line 146 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().
Vec3D InsertionBoundary::velMin_ |
Definition at line 146 of file InsertionBoundary.h.
Referenced by checkBoundaryActionsBeforeTimeStep(), print(), read(), and set().