fn main() {
let species = callistos::exosphere::species::reference_composition();
for s in &species {
println!(
"{}: {:.0}% abundance, scale height {} km",
s.name,
s.abundance_fraction * 100.0,
s.scale_height_km
);
}
let dominant = callistos::exosphere::species::dominant_species(&species).unwrap();
println!("Dominant species: {}", dominant.name);
let day = callistos::exosphere::charging::SurfaceCharging::dayside();
let night = callistos::exosphere::charging::SurfaceCharging::nightside();
println!("Dayside potential: {:.1} V", day.surface_potential_v());
println!("Nightside potential: {:.1} V", night.surface_potential_v());
let jeans = callistos::exosphere::escape::jeans_parameter(120.0, 0.044);
println!("Jeans parameter (CO2, 120K): {:.2}", jeans);
}