Class ObserverTracking

Inheritance Relationships

Base Type

Class Documentation

class ObserverTracking : public ObserverFeature

Tracks particles inside a sphere.

Public Functions

ObserverTracking(Vector3d center, double radius, double stepSize = 0)

Constructor

Parameters:
  • center – vector containing the coordinates of the center of the sphere

  • radius – radius of the sphere

  • stepSize – observer will keep track of particles at every step with this size

virtual DetectionState checkDetection(Candidate *candidate) const
virtual std::string getDescription() const
virtual void onDetection(Candidate *candidate) const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

std::string description
mutable size_t _referenceCount