39 logger(
DEBUG,
"CubeDeletionBoundary::CubeDeletionBoundary() finished",
true);
44 logger(
DEBUG,
"CubeDeletionBoundary::~CubeDeletionBoundary() finished",
true);
92 return "CubeDeletionBoundary";
void read(std::istream &is) override
reads boundary properties from istream
Mdouble getDistance(const Vec3D &position) const override
Returns a negative value if and only if the particle is inside the boundary.
Mdouble X
the vector components
void read(std::istream &is) override
Reads some boundary properties from an std::istream.
Logger< MERCURY_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here...
void set(Vec3D posMin, Vec3D posMax)
Sets boundary position based on two opposite corners.
Used for removing particles from the problem. Inherits from BaseBoundary. By default, a plane that deletes everything past it, but there are derived classes such as CubeDeletionBoundary.
Vec3D posMin_
Minimal and maximal positions defining the boundary's boundaries.
CubeDeletionBoundary * copy() const override
Copy method; creates copy on the heap and returns a pointer to it.
CubeDeletionBoundary()
default constructor
void write(std::ostream &os) const override
Writes the boundary properties to an std::ostream.
void write(std::ostream &os) const override
writes boundary properties to ostream
~CubeDeletionBoundary() override
destructor
std::string getName() const override
Returns the name of the object.