enceladuss 0.0.3

Enceladus celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn micrometeorite_overturn_rate_mm_myr(flux_index: f64) -> f64 {
    0.3 + 1.5 * flux_index.max(0.0)
}

pub fn cryoresurfacing_rate_mm_yr(heat_flux_mw_m2: f64) -> f64 {
    heat_flux_mw_m2.max(0.0) * 0.12
}

pub fn space_weathering_index(exposure_myr: f64, solar_wind_factor: f64) -> f64 {
    (1.0 - (-exposure_myr / 80.0).exp()) * solar_wind_factor.max(0.0)
}