oberons 0.0.3

Oberon celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
fn main() {
    let ice = oberons::resources::water_ice::primary_deposit();
    println!(
        "Ice: {} - {:.2e} kg",
        ice.region_name, ice.estimated_mass_kg
    );
    println!(
        "Extractable (70%): {:.2e} kg",
        ice.extractable_water_kg(0.7)
    );
    println!(
        "Life support: {:.0} person-years",
        oberons::resources::water_ice::annual_life_support_people(ice, 2000.0)
    );
    let m = oberons::resources::minerals::primary_minerals();
    println!("Silicate mass: {:.2e} kg", m.silicate_mass_kg(10.0, 1100.0));
}