Method

NumCosmoHaloDensityProfileeval_numint_dl_spher_mass

Declaration [src]

gdouble
nc_halo_density_profile_eval_numint_dl_spher_mass (
  NcHaloDensityProfile* dp,
  const gdouble X
)

Description [src]

This function computes the enclosed mass in a sphere within radius $X$, i.e., the 2d projection of the dimensionless density profile as described in Eq. \eqref{def:Ix2_dld}. This is the default implementation that will be used unless the child object provides one. This interface is present for testing purpose.

Parameters

X

Type: const gdouble

Dimensionless radius $X = r /r_s$.

Return value

Type: gdouble

The value of the integral $I_{x^2\hat\rho}(c_\Delta)$.