Class DirectedFlowOfScatterCenters
Defined in File Acceleration.h
Inheritance Relationships
Base Type
public StepLengthModifier
(Class StepLengthModifier)
Class Documentation
-
class DirectedFlowOfScatterCenters : public StepLengthModifier
In a directed flow, the step length depend on the direction of the particles as headon collisions are more likely than tail=on collisions - propagating against the flow is harder.
Public Functions
-
DirectedFlowOfScatterCenters(const Vector3d &scatterCenterVelocity)
Constructor
- Parameters:
scatterCenterVelocity – velocity of scattering centers
-
virtual double modify(double steplength, Candidate *candidate)
Returns an update of the steplength.
- Parameters:
steplength – Modifies step length, e.g., based on scattering model.
candidate – Additional candidate properties are usually included in the calculation of the updated step length.
-
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
-
DirectedFlowOfScatterCenters(const Vector3d &scatterCenterVelocity)