Method
NumCosmoHaloDensityProfileeval_spher_mass
Declaration [src]
gdouble
nc_halo_density_profile_eval_spher_mass (
NcHaloDensityProfile* dp,
NcHICosmo* cosmo,
const gdouble r,
const gdouble z
)
Description [src]
This function computes the total mass enclosed in the sphere of radius $r$, see Eq. \eqref{eq:def:Mr}.
Parameters
cosmo-
Type:
NcHICosmoA
NcHICosmo.The data is owned by the caller of the method. r-
Type:
const gdoubleRadius in Mpc.
z-
Type:
const gdoubleRedshift $z$.