Class SimplePropagation

Inheritance Relationships

Base Type

Class Documentation

class SimplePropagation : public Module

Simple rectilinear propagation in absence of magnetic fields.

This module implements rectilinear propagation. The step size is guaranteed to be larger than minStep and smaller than maxStep. It always proposes a next step size of maxStep.

Public Functions

SimplePropagation(double minStep = (0.1 * kpc), double maxStep = (1 * Gpc))
virtual void process(Candidate *candidate) const
void setMinimumStep(double minStep)
void setMaximumStep(double maxStep)
double getMinimumStep() const
double getMaximumStep() const
virtual std::string getDescription() const
void setDescription(const std::string &description)
inline void process(ref_ptr<Candidate> candidate) const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

mutable size_t _referenceCount