26 #ifndef CUBEDELETIONBOUNDARY_H
27 #define CUBEDELETIONBOUNDARY_H
68 void read(std::istream& is)
override;
73 void write(std::ostream& os)
const override;
78 std::string
getName()
const override;
Definition: BaseParticle.h:54
Definition: CubeDeletionBoundary.h:38
void set(Vec3D posMin, Vec3D posMax)
Sets boundary position based on two opposite corners.
Definition: CubeDeletionBoundary.cc:46
Mdouble getDistance(const Vec3D &position) const override
Returns a negative value if and only if the particle is inside the boundary.
Definition: CubeDeletionBoundary.cc:60
void write(std::ostream &os) const override
writes boundary properties to ostream
Definition: CubeDeletionBoundary.cc:79
void read(std::istream &is) override
reads boundary properties from istream
Definition: CubeDeletionBoundary.cc:71
CubeDeletionBoundary * copy() const override
Copy method; creates copy on the heap and returns a pointer to it.
Definition: CubeDeletionBoundary.cc:52
std::string getName() const override
Returns the name of the object.
Definition: CubeDeletionBoundary.cc:89
Vec3D posMin_
Minimal and maximal positions defining the boundary's boundaries.
Definition: CubeDeletionBoundary.h:85
CubeDeletionBoundary()
default constructor
Definition: CubeDeletionBoundary.cc:34
~CubeDeletionBoundary() override
destructor
Definition: CubeDeletionBoundary.cc:41
Vec3D posMax_
Definition: CubeDeletionBoundary.h:85
Used for removing particles from the problem. Inherits from BaseBoundary. By default,...
Definition: DeletionBoundary.h:44
Container to store all BaseParticle.
Definition: ParticleHandler.h:48