NcMatterVar

NcMatterVar — Matter perturbations variance.

Properties

NcMatterVarStrategy strategy Read / Write / Construct Only
NcTransferFunc * transfer Read / Write / Construct Only
NcWindow * window Read / Write / Construct Only

Types and Values

Object Hierarchy

    GEnum
    ╰── NcMatterVarStrategy
    GObject
    ╰── NcMatterVar

Description

FIXME

Functions

nc_matter_var_new ()

NcMatterVar *
nc_matter_var_new (NcMatterVarStrategy vs,
                   NcWindow *wp,
                   NcTransferFunc *tf);

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

Parameters

vs

a NcMatterVarStrategy.

 

wp

a NcWindow.

 

tf

a NcTransferFunc.

 

Returns

A new NcMatterVar.


nc_matter_var_copy ()

NcMatterVar *
nc_matter_var_copy (NcMatterVar *vp);

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

Parameters

vp

a NcMatterVar.

 

Returns

A new NcMatterVar.

[transfer full]


nc_matter_var_free ()

void
nc_matter_var_free (NcMatterVar *vp);

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

Parameters

vp

a NcMatterVar.

 

nc_matter_var_clear ()

void
nc_matter_var_clear (NcMatterVar **vp);

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

Parameters

vp

a NcMatterVar.

 

nc_matter_var_prepare ()

void
nc_matter_var_prepare (NcMatterVar *vp,
                       NcHIReion *reion,
                       NcHICosmo *cosmo);

FIXME

Parameters

vp

a NcMatterVar

 

reion

a NcHIReion

 

cosmo

a NcHICosmo

 

nc_matter_var_prepare_if_needed ()

void
nc_matter_var_prepare_if_needed (NcMatterVar *vp,
                                 NcHIReion *reion,
                                 NcHICosmo *cosmo);

FIXME

Parameters

vp

a NcMatterVar

 

reion

a NcHIReion

 

cosmo

a NcHICosmo

 

nc_matter_var_var0 ()

gdouble
nc_matter_var_var0 (NcMatterVar *vp,
                    NcHICosmo *cosmo,
                    gdouble lnR);

This function returns the variance of the density contrast at redshift $ z = 0 $ computed at scale R FIXME

Parameters

vp

a NcMatterVar

 

cosmo

a NcHICosmo

 

lnR

logarithm base e of the radius

 

Returns

a gdouble which is the variance $ \sigma^2 (R, z = 0) $.


nc_matter_var_dlnvar0_dR ()

gdouble
nc_matter_var_dlnvar0_dR (NcMatterVar *vp,
                          NcHICosmo *cosmo,
                          gdouble lnR);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

lnR

logarithm base e of the radius.

 

Returns

FIXME


nc_matter_var_dlnvar0_dlnR ()

gdouble
nc_matter_var_dlnvar0_dlnR (NcMatterVar *vp,
                            NcHICosmo *cosmo,
                            gdouble lnR);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

lnR

logarithm base e of the radius.

 

Returns

FIXME


nc_matter_var_mass_to_R ()

gdouble
nc_matter_var_mass_to_R (NcMatterVar *vp,
                         NcHICosmo *cosmo,
                         gdouble M);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

M

mass enclosed in the volume specified by the window function.

 

Returns

FIXME


nc_matter_var_R_to_mass ()

gdouble
nc_matter_var_R_to_mass (NcMatterVar *vp,
                         NcHICosmo *cosmo,
                         gdouble R);

FIXME mass enclosed in the volume specified by the window function

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

R

radius.

 

Returns

FIXME


nc_matter_var_lnM_to_lnR ()

gdouble
nc_matter_var_lnM_to_lnR (NcMatterVar *vp,
                          NcHICosmo *cosmo,
                          gdouble lnM);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

lnM

logarithm base e of the mass enclosed in the volume specified by the window function.

 

Returns

FIXME


nc_matter_var_lnR_to_lnM ()

gdouble
nc_matter_var_lnR_to_lnM (NcMatterVar *vp,
                          NcHICosmo *cosmo,
                          gdouble lnR);

FIXME mass enclosed in the volume specified by the window function

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

lnR

logarithm base e of the radius.

 

Returns

FIXME


nc_matter_var_integrand_over_window2 ()

gdouble
nc_matter_var_integrand_over_window2 (NcMatterVar *vp,
                                      NcHICosmo *cosmo,
                                      gdouble k);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

k

FIXME

 

Returns

FIXME


nc_matter_var_spectral_moment_over_growth2 ()

gdouble
nc_matter_var_spectral_moment_over_growth2
                               (NcMatterVar *vp,
                                NcHICosmo *cosmo,
                                gint n);

FIXME $\frac{\sigma^2}{D^2}$

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

n

FIXME

 

Returns

FIXME


nc_matter_var_spectral_moment_over_growth2_tophat ()

gdouble
nc_matter_var_spectral_moment_over_growth2_tophat
                               (NcMatterVar *vp,
                                NcHICosmo *cosmo,
                                gint n);

FIXME

Parameters

vp

a NcMatterVar

 

cosmo

a NcHICosmo

 

n

FIXME

 

Returns

FIXME


nc_matter_var_spectral_moment_over_growth2_gaussian ()

gdouble
nc_matter_var_spectral_moment_over_growth2_gaussian
                               (NcMatterVar *vp,
                                NcHICosmo *cosmo,
                                gint n);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

n

FIXME

 

Returns

FIXME


nc_matter_var_dsigma0_dR ()

gdouble
nc_matter_var_dsigma0_dR (NcMatterVar *vp,
                          NcHICosmo *cosmo,
                          gdouble lnR);

nc_matter_var_sigma8_sqrtvar0 ()

gdouble
nc_matter_var_sigma8_sqrtvar0 (NcMatterVar *vp,
                               NcHICosmo *cosmo);

FIXME

Parameters

vp

a NcMatterVar.

 

cosmo

a NcHICosmo.

 

Returns

FIXME

Types and Values

enum NcMatterVarStrategy

FIXME

Members

NC_MATTER_VAR_NUMINT

Compute variance with numerical integration.

 

NC_MATTER_VAR_SPLINEINT

Compute variance with spline.

 

NC_MATTER_VAR_FFT

Compute using fft.

 

Property Details

The “strategy” property

  “strategy”                 NcMatterVarStrategy

FIXME

Flags: Read / Write / Construct Only

Default value: NC_MATTER_VAR_FFT


The “transfer” property

  “transfer”                 NcTransferFunc *

This property keeps the transferfunc object.

Flags: Read / Write / Construct Only


The “window” property

  “window”                   NcWindow *

This property keeps the window object.

Flags: Read / Write / Construct Only