Class EllipsoidalBoundary
Defined in File Boundary.h
Inheritance Relationships
Base Type
public AbstractCondition
(Class AbstractCondition)
Class Documentation
-
class EllipsoidalBoundary : public AbstractCondition
Flags a particle when leaving the ellipsoid.
This module flags particles when outside of the ellipsoid, defined by two focal points and a major axis (length). The particle is made inactive and flagged as “Rejected”. By default the module prevents overshooting the boundary by more than a margin of 0.1 kpc. This corresponds to the default minimum step size of the propagation modules (PropagationCK and SimplePropagation).
Public Functions
-
EllipsoidalBoundary()
Default constructor
-
EllipsoidalBoundary(Vector3d focalPoint1, Vector3d focalPoint2, double majorAxis)
Constructor
- Parameters:
focalPoint1 – one of the foci of the ellipsoid
focalPoint2 – the other foci of the ellipsoid
majorAxis – length of the major axis of the ellipsoid
-
void setMajorAxis(double size)
-
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
-
EllipsoidalBoundary()