Mass Function

Mass Function — FIXME

Properties

gdouble area Read / Write / Construct
NcDistance * distance Read / Write / Construct Only
NcGrowthFunc * growth Read / Write / Construct Only
NcMultiplicityFunc * multiplicity Read / Write / Construct Only
NcMatterVar * variance Read / Write / Construct Only

Types and Values

Object Hierarchy

    GEnum
    ╰── NcMassFunctionSplineOptimize
    GObject
    ╰── NcMassFunction

Description

FIXME

Functions

nc_mass_function_new ()

NcMassFunction *
nc_mass_function_new (NcDistance *dist,
                      NcMatterVar *vp,
                      NcGrowthFunc *gf,
                      NcMultiplicityFunc *mulf);

This function allocates memory for a new NcMassFunction object and sets its properties to the values from the input arguments.

Parameters

dist

a NcDistance sets to “distance”.

 

vp

a NcMatterVar sets to “variance”.

 

gf

a NcGrowthFunc sets to “growth”.

 

mulf

a NcMultiplicityFunc sets to “multiplicity”.

 

Returns

A new NcMassFunction.


nc_mass_function_copy ()

NcMassFunction *
nc_mass_function_copy (NcMassFunction *mfp);

This function duplicates the NcMassFunction object setting the same values of the original propertities.

Parameters

mfp

a NcMassFunction.

 

Returns

A new NcMassFunction.

[transfer full]


nc_mass_function_free ()

void
nc_mass_function_free (NcMassFunction *mfp);

Atomically decrements the reference count of mfp by one. If the reference count drops to 0, all memory allocated by mfp is released.

Parameters

mfp

a NcMassFunction.

 

nc_mass_function_clear ()

void
nc_mass_function_clear (NcMassFunction **mfp);

Atomically decrements the reference count of mfp by one. If the reference count drops to 0, all memory allocated by mfp is released. Set pointer to NULL.

Parameters

mfp

a NcMassFunction.

 

nc_mass_function_set_area ()

void
nc_mass_function_set_area (NcMassFunction *mfp,
                           gdouble area);

FIXME

Parameters

mfp

a NcMassFunction.

 

area

area in steradian.

 

nc_mass_function_set_area_sd ()

void
nc_mass_function_set_area_sd (NcMassFunction *mfp,
                              gdouble area_sd);

FIXME

Parameters

mfp

a NcMassFunction.

 

area_sd

area in square degree.

 

nc_mass_function_set_eval_limits ()

void
nc_mass_function_set_eval_limits (NcMassFunction *mfp,
                                  NcHICosmo *model,
                                  gdouble lnMi,
                                  gdouble lnMf,
                                  gdouble zi,
                                  gdouble zf);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

lnMi

minimum logarithm base e of mass.

 

lnMf

maximum logarithm base e of mass.

 

zi

minimum redshift.

 

zf

maximum redshift.

 

nc_mass_function_prepare ()

void
nc_mass_function_prepare (NcMassFunction *mfp,
                          NcHICosmo *model);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

nc_mass_function_prepare_if_needed ()

void
nc_mass_function_prepare_if_needed (NcMassFunction *mfp,
                                    NcHICosmo *model);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

nc_mass_function_dn_dlnm ()

gdouble
nc_mass_function_dn_dlnm (NcMassFunction *mfp,
                          NcHICosmo *model,
                          gdouble lnM,
                          gdouble z);

This function computes the comoving number density of dark matter halos at redshift z and mass M.

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

lnM

logarithm base e of mass.

 

z

redshift.

 

Returns

dn/dlnM.


nc_mass_function_dv_dzdomega ()

gdouble
nc_mass_function_dv_dzdomega (NcMassFunction *mfp,
                              NcHICosmo *model,
                              gdouble z);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

z

redshift.

 

Returns

FIXME


nc_mass_function_d2n_dzdlnm ()

gdouble
nc_mass_function_d2n_dzdlnm (NcMassFunction *mfp,
                             NcHICosmo *model,
                             gdouble lnM,
                             gdouble z);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

lnM

logarithm base e of mass.

 

z

redshift.

 

Returns

FIXME


nc_mass_function_dn_dz ()

gdouble
nc_mass_function_dn_dz (NcMassFunction *mfp,
                        NcHICosmo *model,
                        gdouble lnMl,
                        gdouble lnMu,
                        gdouble z,
                        gboolean spline);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

lnMl

logarithm base e of mass, lower threshold.

 

lnMu

logarithm base e of mass, upper threshold.

 

z

redshift.

 

spline

Whenever to create an intermediary spline of the mass integration.

 

Returns

FIXME


nc_mass_function_n ()

gdouble
nc_mass_function_n (NcMassFunction *mfp,
                    NcHICosmo *model,
                    gdouble lnMl,
                    gdouble lnMu,
                    gdouble zl,
                    gdouble zu,
                    NcMassFunctionSplineOptimize spline);

FIXME

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

lnMl

logarithm base e of mass, lower threshold.

 

lnMu

logarithm base e of mass, upper threshold.

 

zl

minimum redshift.

 

zu

maximum redshift.

 

spline

Whenever to create an intermediary spline of the integration.

 

Returns

FIXME


nc_mass_function_dn_M_to_inf_dv ()

gdouble
nc_mass_function_dn_M_to_inf_dv (NcMassFunction *mfp,
                                 NcHICosmo *model,
                                 gdouble M,
                                 gdouble z);

nc_mass_function_dn_M1_to_M2_dv ()

gdouble
nc_mass_function_dn_M1_to_M2_dv (NcMassFunction *mfp,
                                 NcHICosmo *model,
                                 gdouble M1,
                                 gdouble M2,
                                 gdouble z);

nc_mass_function_sigma ()

void
nc_mass_function_sigma (NcMassFunction *mfp,
                        NcHICosmo *model,
                        gdouble lnM,
                        gdouble z,
                        gdouble *dn_dlnM_ptr,
                        gdouble *sigma_ptr);

This function computes the standard deviation of density contrast of the matter fluctuations and the the comoving number density of dark matter halos at redshift z and mass M. These values are stored in sigma_ptr and dn_dlnM_ptr , respectively.

Parameters

mfp

a NcMassFunction.

 

model

a NcHICosmo.

 

lnM

logarithm base e of mass.

 

z

redshift.

 

dn_dlnM_ptr

pointer to comoving number density of halos.

 

sigma_ptr

pointer to the standard deviation of the density contrast.

 

nc_mass_function_alpha_eff ()

void
nc_mass_function_alpha_eff (NcMatterVar *vp,
                            NcHICosmo *model,
                            gdouble lnM,
                            gdouble *a_eff_ptr);

FIXME

Parameters

vp

a NcMatterVar.

 

model

a NcHICosmo.

 

lnM

logarithm base e of mass.

 

a_eff_ptr

FIXME

 

Types and Values

enum NcMassFunctionSplineOptimize

FIXME

Members

NC_MASS_FUNCTION_SPLINE_NONE

FIXME

 

NC_MASS_FUNCTION_SPLINE_LNM

FIXME

 

NC_MASS_FUNCTION_SPLINE_Z

FIXME

 

Property Details

The “area” property

  “area”                     gdouble

This property sets the angular area in steradian.

Flags: Read / Write / Construct

Allowed values: [0,12.5664]

Default value: 0.0609235


The “distance” property

  “distance”                 NcDistance *

This property keeps the distance object.

Flags: Read / Write / Construct Only


The “growth” property

  “growth”                   NcGrowthFunc *

This property keeps the growth function object.

Flags: Read / Write / Construct Only


The “multiplicity” property

  “multiplicity”             NcMultiplicityFunc *

This property keeps the multiplicity function object.

Flags: Read / Write / Construct Only


The “variance” property

  “variance”                 NcMatterVar *

This property keeps the matter variance object.

Flags: Read / Write / Construct Only