Method

NumCosmoHaloDensityProfileeval_spher_mass_delta

Declaration [src]

gdouble
nc_halo_density_profile_eval_spher_mass_delta (
  NcHaloDensityProfile* dp,
  NcHICosmo* cosmo,
  const gdouble z
)

Description [src]

This function computes the total mass enclosed in the sphere of radius $r_\Delta$, see Eq. \eqref{eq:def:Mr}.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
z

Type: const gdouble

Redshift $z$.

Return value

Type: gdouble

The total spherical mass $M(< r_\Delta)\;\left[M_\odot\right]$.