Class ConstantSphericalAdvectionField

Inheritance Relationships

Base Type

Class Documentation

class ConstantSphericalAdvectionField : public AdvectionField

Spherical advection field with a constant wind speed.

Public Functions

ConstantSphericalAdvectionField(const Vector3d origin, double vWind)


  • origin – Origin of the advection field

  • vWind – Constant wind velocity

virtual Vector3d getField(const Vector3d &position) const
virtual double getDivergence(const Vector3d &position) const
void setOrigin(const Vector3d origin)
void setVWind(double vMax)
Vector3d getOrigin() const
double getVWind() const
std::string getDescription() 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