pub struct DerivedParams {Show 15 fields
pub h: f64,
pub h2: f64,
pub t_cmb0_k: f64,
pub t_nu0_base_k: f64,
pub t_nu0_k: f64,
pub omega_b0: f64,
pub omega_cdm0: f64,
pub omega_m0: f64,
pub omega_k0: f64,
pub omega_de0: f64,
pub omega_g0: f64,
pub omega_ur0: f64,
pub omega_nu0: f64,
pub omega_gnu0: f64,
pub omega_non_de0: f64,
}Expand description
Single source of truth for cosmological composition at z = 0.
This struct contains only physical densities (ω ≡ Ω h²) and derived temperatures. Any hot-path computations (E(z), distances, growth, etc.) should use values from here to avoid divergence across components.
Fields§
§h: f64Dimensionless Hubble parameter h.
h2: f64h² (cached).
t_cmb0_k: f64CMB temperature today in Kelvin.
t_nu0_base_k: f64Base neutrino temperature: T_ν0,base = (4/11)^(1/3) * T_cmb0
This is the background temperature used for the Split model.
t_nu0_k: f64Effective neutrino temperature used for the Effective model.
This scales the bath by (N_eff / N_species)^(1/4) so the total relativistic
energy density matches n_eff.
omega_b0: f64Physical baryon density ω_b0.
omega_cdm0: f64Physical cold dark matter density ω_cdm0.
omega_m0: f64Total matter physical density ω_m0 = ω_b0 + ω_cdm0.
omega_k0: f64Physical curvature density ω_k0.
omega_de0: f64Physical dark energy density ω_de0 (Λ in ΛCDM).
omega_g0: f64Physical photon density ω_γ0.
omega_ur0: f64Massless-only (UR) contribution used in the Split model; 0.0 in Effective mode.
omega_nu0: f64Total neutrino physical density ω_ν0 (massive + any species included via the model).
omega_gnu0: f64Sum of present-day physical densities for photons + UR + neutrinos.
Note: this does not imply strict (1+z)^4 scaling for the massive part at all z.
omega_non_de0: f64Sum of all non-dark-energy components today: ω_non_de0 = ω_γ0 + ω_ur0 + ω_ν0 + ω_m0 + ω_k0
Implementations§
Trait Implementations§
Source§impl Clone for DerivedParams
impl Clone for DerivedParams
Source§fn clone(&self) -> DerivedParams
fn clone(&self) -> DerivedParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more