Function

NumCosmoMathCcrit_density_h2

Declaration [src]

gdouble
ncm_c_crit_density_h2 (
  void
)

Description [src]

The critical density is defined as \begin{equation} \rho_{\mathrm{crit}0} = \frac{3 c^2 H_0^2}{8\pi G}, \end{equation} where $G$ is the gravitational constant (#ncm_c_G()), $c$ is the speed of light (#ncm_c_c()) and $H_0$ is the Hubble parameter, $$H_0 = 100 \times \mathsf{h} \,\left[\text{km}\,\text{s}^{-1}\,\text{Mpc}^{-1}\right].$$.

Return value

Type: gdouble

Critical density over $\mathsf{h}^2$, $$\frac{\rho_{\mathrm{crit}0}}{\mathsf{h}^2} \left[\frac{\text{kg}}{\text{m}^3} \frac{\text{m}^2}{\text{s}^2}\right].$$.