Class ArchimedeanSpiralField

Inheritance Relationships

Base Type

Class Documentation

class ArchimedeanSpiralField : public MagneticField

Magnetic field model following a Archimedean spiral.

See e.g. Jokipii, Levy & Hubbard 1977

Public Functions

ArchimedeanSpiralField(double B_0, double R_0, double Omega, double V_w)

Constructor

Parameters
  • B_0: Magnetic field strength in radial direction at R_0
  • R_0: Reference level
  • Omega: Angular velocity of the rotation
  • V_w: Asymptotic wind speed

Vector3d getField(const Vector3d &pos) const
void setB0(double B)
void setR0(double R)
void setOmega(double Om)
void setVw(double v)
double getB0() const
double getR0() const
double getOmega() const
double getVw() const
virtual Vector3d getField(const Vector3d &position, double z) const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount