#[derive(Debug, Clone, Copy, PartialEq)]
pub struct InertBody {
    pub name: &'static str,
    pub heat_flux_mw_m2: f64,
}

impl InertBody {
    pub fn is_active(&self) -> bool {
        self.heat_flux_mw_m2 > 1.0
    }
}

pub fn deimos_volcanic_state() -> InertBody {
    InertBody {
        name: "Deimos",
        heat_flux_mw_m2: 0.0,
    }
}

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