NcHaloDensityProfileEinasto

NcHaloDensityProfileEinasto — Density profile of Einasto type.

Functions

Properties

double alpha Read / Write
gboolean alpha-fit Read / Write

Types and Values

Object Hierarchy

    GEnum
    ╰── NcHaloDensityProfileEinastoParams
    GObject
    ╰── NcmModel
        ╰── NcHaloDensityProfile
            ╰── NcHaloDensityProfileEinasto

Description

This object implements the NcHaloDensityProfile class for the Einasto 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 Einasto profile is given by \begin{equation} \hat{\rho}(x) = \exp \left[ - \frac{2}{\alpha} \left( x^\alpha - 1 \right) \right], \end{equation} where $x = r/r_s$ and $r_s$ is the scale radius and $\alpha$ is a parameter that defines how the profile steepens with slope.

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 Einasto implementation provides \begin{equation} I_{x^2\hat\rho}(x) = \left(\frac{\alpha}{2}\right)^{3/\alpha} \frac{e^{2/\alpha}}{\alpha} \Gamma \left( \frac{3}{\alpha} \right) \left[1 - \frac{\Gamma \left( 3/\alpha, 2c_{\Delta}^\alpha / \alpha\right)}{\Gamma \left( 3/\alpha \right)} \right], \end{equation} where $c_{\Delta}$ is the concentration parameter.

References: Einasto (1965), arXiv:1712.04512. $\alpha$ parameter range values: Gao et al. (2008) https://ui.adsabs.harvard.edu/abs/2008MNRAS.387..536G/abstract, Dutton \& Maccio (2014) https://academic.oup.com/mnras/article/441/4/3359/1209689.

Functions

nc_halo_density_profile_einasto_new ()

NcHaloDensityProfileEinasto *
nc_halo_density_profile_einasto_new (const NcHaloDensityProfileMassDef mdef,
                                     const gdouble Delta);

This function returns the NcHaloDensityProfileEinasto implementation of NcHaloDensityProfile setting “mass-def” to mdef and “Delta” to Delta .

Parameters

mdef

a NcHaloDensityProfileMassDef

 

Delta

cluster threshold mass definition $\Delta$

 

Returns

a new instance of NcHaloDensityProfileEinasto.

Types and Values

enum NcHaloDensityProfileEinastoParams

FIXME

Members

NC_HALO_DENSITY_PROFILE_EINASTO_ALPHA

determines how quickly the slope of the inner Einasto profile steepens

 

NC_HALO_DENSITY_PROFILE_EINASTO_LOCAL_SPARAM_LEN

#define NC_HALO_DENSITY_PROFILE_EINASTO_LOCAL_SPARAM_LEN (NC_HALO_DENSITY_PROFILE_EINASTO_SPARAM_LEN - NC_HALO_DENSITY_PROFILE_SPARAM_LEN)

NC_HALO_DENSITY_PROFILE_EINASTO_DEFAULT_ALPHA

#define NC_HALO_DENSITY_PROFILE_EINASTO_DEFAULT_ALPHA (0.25)

NC_HALO_DENSITY_PROFILE_EINASTO_DEFAULT_PARAMS_ABSTOL

#define NC_HALO_DENSITY_PROFILE_EINASTO_DEFAULT_PARAMS_ABSTOL (0.0)

Property Details

The “alpha” property

  “alpha”                    double

Defines how the profile steepens with slope. FIXME Set correct values (limits)

Owner: NcHaloDensityProfileEinasto

Flags: Read / Write

Default value: 0.25


The “alpha-fit” property

  “alpha-fit”                gboolean

\alpha:fit.

Owner: NcHaloDensityProfileEinasto

Flags: Read / Write

Default value: FALSE