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
15
fn main() {
    let earth = moons::interactions::earths::ensure_earths_binary_or_simulate();

    let composition = moons::exosphere::species::reference_composition();
    let charging = moons::exosphere::charging::SurfaceCharging::dayside();

    println!(
        "mode={:?} earth_r_km={:.1} species={} potential_v={:.2} dust_risk={:.4}",
        earth.mode,
        earth.orbital_radius_km,
        composition.len(),
        charging.surface_potential_v(),
        charging.dust_lofting_risk(),
    );
}