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

Vector3d getField(const Vector3d &position) const
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
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount