moons 0.0.1

Moon celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::physics::tides::{TidalResponse, earth_tidal_acceleration};

pub fn subearth_bulge_m(response: TidalResponse) -> f64 {
    super::orbital_dynamics::libration_factor(0.0) * earth_tidal_acceleration(0.0) * 1.0e6
        + response.mean_displacement_m
}

pub fn farside_bulge_m(response: TidalResponse) -> f64 {
    response.mean_displacement_m - earth_tidal_acceleration(180.0) * 1.0e6
}