Class
NumCosmoHaloDensityProfileNFW
Description [src]
final class NumCosmo.HaloDensityProfileNFW : NumCosmo.HaloDensityProfile
{
/* No available fields */
}
Density profile of Navarro-Frenk-White type.
This object implements the NcHaloDensityProfile class for a Navarro-Frenk-White (NFW) density profile.
As described NcHaloDensityProfile, we just need to implement the dimensionless 3D density $\hat{\rho}(x)$
[which refers to the virtual function nc_halo_density_profile_eval_dl_density()].
In particular, the NFW profile is given by
\begin{equation}
\hat{\rho}(x) = \frac{1}{x(1 + x)^2},
\end{equation}
where $x = r/r_s$ and $r_s$ is the scale radius.
Both the mass $M_\Delta$ and the scale profile $\rho_s$ are written in terms of the integral $I_{x^2\hat\rho}(c_\Delta)$ [virtual function nc_halo_density_profile_eval_dl_spher_mass()]. The respective NFW implementation provides \begin{equation} I_{x^2\hat\rho}(x) = \ln(1 + x) - \frac{x}{1 + x}. \end{equation}
The NFW dimensionless surface mass density [virtual function nc_halo_density_profile_eval_dl_2d_density()] is \begin{equation} \hat{\Sigma}(X) = \frac{2}{X^2 -1} \left[1 - \frac{\arctan (\sqrt{X^2 -1})}{\sqrt{X^2 - 1}}\right]. \end{equation} For $X^2 - 1 < 0$ the equation above can be written in terms of $\mathrm{arctanh}(\sqrt{1 - X^2})/\sqrt{1 - X^2}$. If $\vert X - 1 \vert < 10^{-6}$ or $X < 10^{-6}$, $\hat{\Sigma} (X)$ is computed using the Taylor series expansion at $1$ or $0$ respectively (with sufficient terms in order to obtain double precision).
The NFW enclosed mass is [virtual function nc_halo_density_profile_eval_dl_cyl_mass()] \begin{equation} \hat{\overline{\Sigma}} (< X) = 2 \left[\frac{\arctan (\sqrt{X^2 - 1})}{\sqrt{X^2 - 1}} + \ln (X / 2)\right], \end{equation} Similar expressions in terms of $\mathrm{arctanh}$ and approximations, as described above, are used here.
References: [Navarro (1996)][XNavarro1996], [Wright (2000)][XWright2000], astro-ph/0206508 and arxiv:1010.0744.
Constructors
nc_halo_density_profile_nfw_new
This function returns the NcHaloDensityProfileNFW implementation of
NcHaloDensityProfile given a NcHaloMassSummary.
Instance methods
Methods inherited from NcHaloDensityProfile (29)
Please see NcHaloDensityProfile for a full list of methods.
Properties
Properties inherited from NcHaloDensityProfile (3)
NumCosmo.HaloDensityProfile:lnXf
Logarithm of the upper limit of the interval where the projected densities are computed $\ln(X_f)$.
NumCosmo.HaloDensityProfile:lnXi
Logarithm of the lower limit of the interval where the projected densities are computed $\ln(X_i)$.
NumCosmo.HaloDensityProfile:reltol
Relative tolerance used in the numerical computations.
Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
NumCosmoMath.Model:name
NumCosmoMath.Model:nick
NumCosmoMath.Model:params-types
NumCosmoMath.Model:reparam
NumCosmoMath.Model:scalar-params-len
NumCosmoMath.Model:sparam-array
NumCosmoMath.Model:submodel-array
NumCosmoMath.Model:vector-params-len
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.