ZonalGravity
Defined in: zonal_gravity.rs:31
pub struct ZonalGravity\<F: [EarthRotationPole](../../../../arika/api/traits/earthrotationpole/) = [arika::frame::SimpleEci](../../../../arika/api/type-aliases/simpleeci/)\> { pub mu: f64, pub r_body: f64, pub j2: f64, pub j3: Option<f64>, pub j4: Option<f64>, // ...}Zonal harmonics (J2, optional J3/J4) gravity perturbation about the
rotation pole supplied by EarthRotationPole.
Fields
Section titled “Fields”mu: f64
Gravitational parameter of the central body [km³/s²].
r_body
Section titled “r_body”r_body: f64
Equatorial radius of the central body [km].
j2: f64
J2 coefficient (dimensionless).
j3: Option<f64>
J3 coefficient (dimensionless, optional).
j4: Option<f64>
J4 coefficient (dimensionless, optional).
Methods
Section titled “Methods”fn new(mu: f64, r_body: f64, j2: f64, j3: Option<f64>, j4: Option<f64>) -> Self
Create a zonal gravity perturbation for a central body.