Method

NumCosmoHICosmoYp_4He

Declaration [src]

gdouble
nc_hicosmo_Yp_4He (
  NcHICosmo* cosmo
)

Description [src]

Gets the primordial Helium mass fraction, i.e., $$Y_p = \frac{m_\mathrm{He}n_\mathrm{He}} {m_\mathrm{He}n_\mathrm{He} + m_\mathrm{H}n_\mathrm{H}},$$ where $m_\mathrm{He}$, $n_\mathrm{He}$, $m_\mathrm{H}$ and $m_\mathrm{H}$ are respectively Helium-4 mass and number density and Hydrogen-1 mass and number density.

Return value

Type: gdouble

$Y_p$.