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, SphericalAdvectionField, SphericalAdvectionShock, UniformAdvectionField

Public Functions

virtual ~AdvectionField()
virtual Vector3d getField(const Vector3d &position) const = 0
virtual double getDivergence(const Vector3d &position) const = 0
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount