Class ToroidalHaloField
Defined in File GalacticMagneticField.h
Inheritance Relationships
Base Type
public MagneticField
(Class MagneticField)
Class Documentation
-
class ToroidalHaloField : public MagneticField
Galactic halo field model from Prouza & Smida 2003 and Sun et al. 2008.
Public Functions
-
inline ToroidalHaloField(double b0 = 1., double z0 = 1., double z1 = 1., double r0 = 1.)
Constructor
- Parameters:
b0 – halo field strength
z0 – vertical position
z1 – vertical scale
r0 – radial scale
-
inline void setParameters(double b0, double z0, double z1, double r0)
-
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
-
inline ToroidalHaloField(double b0 = 1., double z0 = 1., double z1 = 1., double r0 = 1.)