moons 0.0.3

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

    println!(
        "mode={:?} water_kg={:.2} he3_kg={:.2} oxygen_kg={:.2}",
        earth_context.mode,
        ice.extractable_water_kg(0.7),
        helium3.inventory_kg(1_700.0),
        regolith.oxygen_mass_kg(1_000.0),
    );
}