Class CubicBoundary¶
- Defined in File Boundary.h
Inheritance Relationships¶
Base Type¶
public AbstractCondition
(Class AbstractCondition)
Class Documentation¶
-
class
CubicBoundary
: public AbstractCondition¶ Flags a particle when exiting the cube.
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
-
CubicBoundary
()¶
-
void
process
(Candidate *candidate) const
-
void
setSize
(double size)¶
-
void
setMargin
(double margin)¶
-
void
setLimitStep
(bool limitStep)¶
-
std::string
getDescription
() const
-
void
onReject
(Module *rejectAction)
-
void
onAccept
(Module *acceptAction)
-
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)
-
size_t
addReference
() const
-
size_t
removeReference
() const
-
int
removeReferenceNoDelete
() const
-
size_t
getReferenceCount
() const
-