moons 0.0.1

Moon celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    let earth_context = moons::interactions::earths::ensure_earths_binary_or_simulate();

    let response = moons::physics::tides::TidalResponse::current();
    let subearth = moons::interactions::earth_tides::subearth_bulge_m(response);
    let farside = moons::interactions::earth_tides::farside_bulge_m(response);

    println!(
        "mode={:?} tilt_deg={:.3} subearth_bulge_m={:.6} farside_bulge_m={:.6}",
        earth_context.mode, earth_context.axial_tilt_deg, subearth, farside
    );
}