use crate::physics::tides::{TidalResponse, jupiter_tidal_acceleration};

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

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