Class ArchimedeanSpiralField

Inheritance Relationships

Base Type

Class Documentation

class ArchimedeanSpiralField : public MagneticField

Magnetic field model following an 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

virtual 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
inline virtual Vector3d getField(const Vector3d &position, double z) 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