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
}
