Class SphericalAdvectionField
Defined in File AdvectionField.h
Inheritance Relationships
Base Type
public AdvectionField
(Class AdvectionField)
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
-
double getV(const double &r) const
-
void setRadius(double radius)
-
void setVMax(double vMax)
-
void setTau(double tau)
-
void setAlpha(double alpha)
-
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
-
SphericalAdvectionField(const Vector3d origin, double radius, double vMax, double tau, double alpha)