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

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

Protected Attributes

size_t _referenceCount