Class MagneticField

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class MagneticField : public Referenced

Abstract base class for magnetic fields.

Subclassed by AMRMagneticField, ArchimedeanSpiralField, JF12Field, LogarithmicSpiralField, MagneticDipoleField, MagneticFieldEvolution, MagneticFieldGrid, MagneticFieldList, ModulatedMagneticFieldGrid, PeriodicMagneticField, PT11Field, QuimbyMagneticField, RenormalizeMagneticField, TF17Field, TorroidalHaloField, TurbulentField, UniformMagneticField

Public Functions

virtual ~MagneticField()
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