![]() |
|
#include <CubeDeletionBoundary.h>
Inheritance diagram for CubeDeletionBoundary:Public Member Functions | |
| CubeDeletionBoundary () | |
| default constructor More... | |
| ~CubeDeletionBoundary () override | |
| destructor More... | |
| CubeDeletionBoundary * | copy () const override |
| Copy method; creates copy on the heap and returns a pointer to it. More... | |
| void | set (Vec3D posMin, Vec3D posMax) |
| Sets boundary position based on two opposite corners. More... | |
| Mdouble | getDistance (const Vec3D &position) const override |
| Returns a negative value if and only if the particle is inside the boundary. More... | |
| void | read (std::istream &is) override |
| reads boundary properties from istream More... | |
| void | write (std::ostream &os) const override |
| writes boundary properties to ostream More... | |
| std::string | getName () const override |
| Returns the name of the object. More... | |
Public Member Functions inherited from DeletionBoundary | |
| DeletionBoundary () | |
| default constructor More... | |
| DeletionBoundary (DeletionBoundary const &d) | |
| default copy constructor More... | |
| ~DeletionBoundary () override | |
| destructor More... | |
| DeletionBoundary * | copy () const override |
| Copy method; creates copy on the heap and returns a pointer to it. More... | |
| void | set (const Vec3D &normal, Mdouble distance) |
| Sets boundary position based on a normal and distance. More... | |
| void | move (Mdouble position) |
| Sets the boundary's distance property to the given one. More... | |
| bool | checkBoundaryAfterParticleMoved (BaseParticle *p, ParticleHandler &pH) |
| Checks if particle is inside the boundary, and deletes the particle if so. More... | |
| void | checkBoundaryAfterParticlesMove (ParticleHandler &pH) override |
| unsigned int | getNumberOfParticlesDeleted () const |
| Gets the number of particles deleted by the boundary. More... | |
| double | getMassOfParticlesDeleted () const |
| double | getVolumeOfParticlesDeleted () const |
| void | reset () |
| void | activate () |
| Turns on the DeletionBoundary. More... | |
| void | deactivate () |
| Turns off the DeletionBoundary. More... | |
| void | trackOutflow (bool trackOutflow=true) |
| Turns on the outflow tracker. More... | |
| void | setTrackerCustom (std::function< void(std::ofstream &, BaseParticle *)> trackerCustom) |
| Sets a custom function for tracking the outflow. More... | |
| void | read (std::istream &is) override |
| Reads some boundary properties from an std::istream. More... | |
| MERCURYDPM_DEPRECATED void | oldRead (std::istream &is) |
| Deprecated read method. use DeletionBoundary::read() instead. More... | |
| void | write (std::ostream &os) const override |
| Writes the boundary properties to an std::ostream. More... | |
| std::string | getName () const override |
| Returns the name of the object. More... | |
Public Member Functions inherited from BaseBoundary | |
| BaseBoundary () | |
| default constructor. More... | |
| BaseBoundary (const BaseBoundary &b) | |
| copy constructor More... | |
| ~BaseBoundary () override | |
| destructor More... | |
| virtual void | createPeriodicParticle (BaseParticle *p UNUSED, ParticleHandler &pH UNUSED) |
| Creates a periodic particle in case of periodic boundaries in serial build. More... | |
| virtual void | createPeriodicParticles (ParticleHandler &pH UNUSED) |
| Creates periodic copies of given particle in case of periodic boundaries. More... | |
| virtual void | checkBoundaryBeforeTimeStep (DPMBase *md) |
| Virtual function that does things before each time step. More... | |
| virtual void | actionsBeforeTimeLoop () |
| Virtual function that does something after DPMBase::setupInitialConditions but before the first time step. More... | |
| virtual void | modifyGhostAfterCreation (BaseParticle *particle, int i) |
| virtual void | writeVTK (std::fstream &file) |
| void | setHandler (BoundaryHandler *handler) |
| Sets the boundary's BoundaryHandler. More... | |
| BoundaryHandler * | getHandler () const |
| Returns the boundary's BoundaryHandler. More... | |
Public Member Functions inherited from BaseObject | |
| BaseObject ()=default | |
| Default constructor. More... | |
| BaseObject (const BaseObject &p)=default | |
| Copy constructor, copies all the objects BaseObject contains. More... | |
| virtual | ~BaseObject ()=default |
| virtual destructor More... | |
| virtual void | moveInHandler (unsigned int index) |
| Except that it is virtual, it does the same thing as setIndex() does. More... | |
| void | setIndex (unsigned int index) |
| Allows one to assign an index to an object in the handler/container. More... | |
| void | setId (unsigned long id) |
| Assigns a unique identifier to each object in the handler (container) which remains constant even after the object is deleted from the container/handler. More... | |
| unsigned int | getIndex () const |
| Returns the index of the object in the handler. More... | |
| unsigned int | getId () const |
| Returns the unique identifier of any particular object. More... | |
| void | setGroupId (unsigned groupId) |
| unsigned | getGroupId () const |
Private Attributes | |
| Vec3D | posMin_ |
| Minimal and maximal positions defining the boundary's boundaries. More... | |
| Vec3D | posMax_ |
| CubeDeletionBoundary::CubeDeletionBoundary | ( | ) |
default constructor
References DEBUG, logger, posMax_, and posMin_.
Referenced by copy().
|
override |
|
overridevirtual |
Copy method; creates copy on the heap and returns a pointer to it.
Implements BaseBoundary.
References CubeDeletionBoundary().
|
overridevirtual |
Returns the name of the object.
Returns the object's class name (i.e. 'CubeDeletionBoundary').
Implements BaseObject.
|
overridevirtual |
reads boundary properties from istream
Implements BaseBoundary.
References posMax_, posMin_, DeletionBoundary::read(), and oomph::Global_string_for_annotation::string().
|
overridevirtual |
writes boundary properties to ostream
Implements BaseBoundary.
References posMax_, posMin_, and DeletionBoundary::write().
|
private |
Referenced by CubeDeletionBoundary(), getDistance(), read(), set(), and write().
|
private |
Minimal and maximal positions defining the boundary's boundaries.
Referenced by CubeDeletionBoundary(), getDistance(), read(), set(), and write().