Class MagneticDipoleField
Defined in File MagneticField.h
Inheritance Relationships
Base Type
public MagneticField
(Class MagneticField)
Class Documentation
-
class MagneticDipoleField : public MagneticField
Magnetic dipole field defined by the magnetic moment and the ‘core’ radius.
Public Functions
-
inline MagneticDipoleField(const Vector3d &origin, const Vector3d &moment, const double radius)
Constructor
- Parameters:
origin – singularity of the dipole field
moment – magnetic moment of the dipole field
radius – inside a radius around the origin the magnetic field is constant: moment * 2 * mu0 / 3
-
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 MagneticDipoleField(const Vector3d &origin, const Vector3d &moment, const double radius)