Class TorroidalHaloField

Inheritance Relationships

Base Type

Class Documentation

class TorroidalHaloField : public MagneticField

Galactic halo field model from Prouza & Smida 2003 and Sun et al. 2008.

Public Functions

void setParameters(double b0, double z0, double z1, double r0)
Vector3d getField(Vector3d pos)
virtual Vector3d getField(const Vector3d &position) 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