TiltedDipole
このコンテンツはまだ日本語訳がありません。
Defined in: dipole.rs:21
pub struct TiltedDipoleTilted dipole geomagnetic field model with ECEF-fixed axis.
Approximates Earth’s magnetic field as a tilted dipole, suitable for B-dot detumbling simulations in LEO. The dipole axis is stored in ECEF coordinates and rotated to ECI using the epoch’s GMST, correctly accounting for Earth rotation.
The dipole field at position r is:
B = (dipole_strength / r^3) [3(m_hat . r_hat) r_hat - m_hat]
where m_hat is the dipole axis unit vector and r is in metres.
Methods
Section titled “Methods”fn new(dipole_strength: f64, axis_ecef: Vector3<f64>) -> Self
Create a tilted dipole with the given strength and axis in ECEF coordinates.
Panics
Section titled “Panics”Panics if axis_ecef is zero-length.
earth()
Section titled “earth()”fn earth() -> Self
Earth’s tilted dipole (IGRF approximate).
- Dipole strength: ~7.94e15 Tm^3 (= mu_0/(4pi) * 7.94e22 A*m^2)
- Axis tilted ~11.5 deg from geographic north (simplified: tilt in x-z plane in ECEF)
The axis is stored in ECEF coordinates and will be rotated to ECI using the epoch’s GMST when computing the field.