Class AdvectionField

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class AdvectionField : public Referenced

Abstract base class for advection fields. These are used to model the deterministic part of the Fokker-Planck equation. The getDivergence() method is used to model the adibatic cooling/heating.

Subclassed by AdvectionFieldList, ConstantSphericalAdvectionField, ObliqueAdvectionShock, OneDimensionalCartesianShock, OneDimensionalSphericalShock, SphericalAdvectionField, SphericalAdvectionShock, UniformAdvectionField

Public Functions

inline virtual ~AdvectionField()
virtual Vector3d getField(const Vector3d &position) const = 0
virtual double getDivergence(const Vector3d &position) const = 0
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