Class SphericalAdvectionField

Inheritance Relationships

Base Type

Class Documentation

class SphericalAdvectionField : public AdvectionField

Spherical advection with a exponentially increasing and exponentially constant velocity.

Public Functions

SphericalAdvectionField(const Vector3d origin, double radius, double vMax, double tau, double alpha)

Constructor

Parameters:
  • origin – Origin of the advection sphere

  • radius – Radius of the advection sphere

  • vMax – Maximum wind velocity

  • tau – Transition distance

  • alpha – Tuning parameter

virtual Vector3d getField(const Vector3d &position) const
virtual double getDivergence(const Vector3d &position) const
double getV(const double &r) const
void setOrigin(const Vector3d origin)
void setRadius(double radius)
void setVMax(double vMax)
void setTau(double tau)
void setAlpha(double alpha)
Vector3d getOrigin() const
double getRadius() const
double getVMax() const
double getTau() const
double getAlpha() 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