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