Method

NumCosmoHaloDensityProfileeval_cyl_mass

Declaration [src]

gdouble
nc_halo_density_profile_eval_cyl_mass (
  NcHaloDensityProfile* dp,
  NcHICosmo* cosmo,
  const gdouble R,
  const gdouble z
)

Description [src]

This function computes the total mass enclose in the cylinder of radius $R$, see Eq. \eqref{}.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Radius $R\left[\mathrm{Mpc}\right]$.

z

Type: const gdouble

Redshift $z$.

Return value

Type: gdouble

The value of $\overline{\Sigma}(R)\left[M_\odot\right]$.