NcPowspecML

NcPowspecML — Abstrac class for linear matter power spectrum implementation.

Object Hierarchy

    GObject
    ╰── NcmPowspec
        ╰── NcPowspecML
            ├── NcPowspecMLCBE
            ├── NcPowspecMLFixSpline
            ╰── NcPowspecMLTransfer

Description

This module comprises the set of functions to compute the linear matter power spectrum and derived quantities.

Following the description presented in NcmPowspec, in this case we have that the field $\delta(\vec{x})$ represents the matter density fluctuations, i.e., $$\delta(\vec{x}) = \frac{\rho(\vec{x}) - \bar{\rho}}{\bar{\rho}},$$ where $\rho$ is the cold matter density field and $\bar{\rho}$ its mean.

Functions

nc_powspec_ml_new_from_name ()

NcPowspecML *
nc_powspec_ml_new_from_name (const gchar *ps_ml_name);

This function returns a new NcPowspecML whose type is defined by ps_ml_name .

Parameters

ps_ml_name

string which specifies the linear matter power spectrum object to be used

 

Returns

A new NcPowspecML.


nc_powspec_ml_ref ()

NcPowspecML *
nc_powspec_ml_ref (NcPowspecML *ps_ml);

Increases the reference count of ps_ml atomically.

Parameters

ps_ml

a NcPowspecML

 

Returns

ps_ml .

[transfer full]


nc_powspec_ml_free ()

void
nc_powspec_ml_free (NcPowspecML *ps_ml);

Decreases the reference count of ps_ml atomically.

Parameters

ps_ml

a NcPowspecML

 

nc_powspec_ml_clear ()

void
nc_powspec_ml_clear (NcPowspecML **ps_ml);

Decreses the reference count of *ps_ml atomically and sets the pointer *ps_ml to null.

Parameters

ps_ml

a NcPowspecML

 

nc_powspec_ml_sigma_R ()

gdouble
nc_powspec_ml_sigma_R (NcPowspecML *ps_ml,
                       NcmModel *model,
                       const gdouble reltol,
                       const gdouble z,
                       const gdouble R);

Computes $\sigma_R = \sqrt{}$. FIXME

Parameters

ps_ml

a NcPowspecML

 

model

a NcmModel

 

reltol

relative tolerance for integration

 

z

the value of $z$

 

R

the value of $R$

 

Types and Values