Class CylindricalBoundary
Defined in File Boundary.h
Inheritance Relationships
Base Type
public AbstractCondition
(Class AbstractCondition)
Class Documentation
-
class CylindricalBoundary : public AbstractCondition
Flags a particle when leaving the cylinder whose axis is along the z-axis. This module flags particles when outside of the cylinder, defined by a radius and a height. The particle is made inactive and by default is flagged “OutOfBounds”. Optionally the module can ensure the candidate does not overshoot the boundary by more than a set margin.
Public Functions
-
CylindricalBoundary()
Default constructor
-
CylindricalBoundary(Vector3d origin, double height, double radius)
Constructor
- Parameters:
origin – vector corresponding to the lower part of the cylinder axis
height – height of the cylinder
radius – radius of the cylinder
-
void setHeight(double height)
-
void setRadius(double radius)
-
void setMargin(double margin)
-
void setLimitStep(bool limitStep)
-
virtual std::string getDescription() const
-
void setMakeRejectedInactive(bool makeInactive)
-
void setMakeAcceptedInactive(bool makeInactive)
-
void setRejectFlag(std::string key, std::string value)
-
void setAcceptFlag(std::string key, std::string value)
-
void setDescription(const std::string &description)
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
Protected Functions
-
CylindricalBoundary()