ioss 0.0.3

Io celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let s = ioss::resources::sulfur::loki_deposits();
    println!("Sulfur: {} - {:.2e} kg", s.region_name, s.estimated_mass_kg);
    println!("Extractable (50%): {:.2e} kg", s.extractable_sulfur_kg(0.5));
    println!(
        "Propellant years: {:.0}",
        ioss::resources::sulfur::annual_propellant_potential(s, 1000.0)
    );
    let m = ioss::resources::minerals::volcanic_silicates();
    println!("Silicate mass: {:.2e} kg", m.silicate_mass_kg(10.0, 2500.0));
}