Class MagneticDipoleField

Inheritance Relationships

Base Type

Class Documentation

class MagneticDipoleField : public MagneticField

Magnetic dipole field defined by the magnetic moment and the ‘core’ radius.

Public Functions

MagneticDipoleField(const Vector3d &origin, const Vector3d &moment, const double radius)
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