phoboss 0.0.2

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

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

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