NcPowspecMLCBE

NcPowspecMLCBE — linear matter power spectrum from CLASS backend.

Stability Level

Stable, unless otherwise indicated

Functions

Properties

NcCBE * cbe Read / Write
double intern-k-max Read / Write / Construct
double intern-k-min Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmPowspec
        ╰── NcPowspecML
            ╰── NcPowspecMLCBE

Includes

#include <numcosmo/nc_powspec_ml_cbe.h>

Description

Provides the linear matter power spectrum using the CLASS backend NcCBE.

Functions

nc_powspec_ml_cbe_new ()

NcPowspecMLCBE *
nc_powspec_ml_cbe_new (void);

Creates a new NcPowspecMLCBE from a new NcCBE.

Returns

the newly created NcPowspecMLCBE.

[transfer full]


nc_powspec_ml_cbe_new_full ()

NcPowspecMLCBE *
nc_powspec_ml_cbe_new_full (NcCBE *cbe);

Creates a new NcPowspecMLCBE from cbe .

Parameters

cbe

a NcCBE

 

Returns

the newly created NcPowspecMLCBE.

[transfer full]


nc_powspec_ml_cbe_set_cbe ()

void
nc_powspec_ml_cbe_set_cbe (NcPowspecMLCBE *ps_cbe,
                           NcCBE *cbe);

Sets the NcCBE to cbe .

Parameters

ps_cbe

a NcPowspecMLCBE

 

cbe

a NcCBE

 

nc_powspec_ml_cbe_peek_cbe ()

NcCBE *
nc_powspec_ml_cbe_peek_cbe (NcPowspecMLCBE *ps_cbe);

Peeks the NcCBE inside ps_cbe .

Parameters

ps_cbe

a NcPowspecMLCBE

 

Returns

the NcCBE inside ps_cbe .

[transfer none]


nc_powspec_ml_cbe_set_intern_k_min ()

void
nc_powspec_ml_cbe_set_intern_k_min (NcPowspecMLCBE *ps_cbe,
                                    const gdouble k_min);

Sets the minimum mode value $k$ computed by CLASS. Values outside of these value will be extrapolated using Eisenstein-Hu fitting function (see NcTransferFuncEH).

Parameters

ps_cbe

a NcPowspecMLCBE

 

k_min

the minimum $k$ computed by CLASS

 

nc_powspec_ml_cbe_set_intern_k_max ()

void
nc_powspec_ml_cbe_set_intern_k_max (NcPowspecMLCBE *ps_cbe,
                                    const gdouble k_max);

Sets the maximum mode value $k$ computed by CLASS. Values outside of these value will be extrapolated using using Eisenstein-Hu fitting function (see NcTransferFuncEH).

Parameters

ps_cbe

a NcPowspecMLCBE

 

k_max

the maximum $k$ computed by CLASS

 

nc_powspec_ml_cbe_get_intern_k_min ()

gdouble
nc_powspec_ml_cbe_get_intern_k_min (NcPowspecMLCBE *ps_cbe);

Parameters

ps_cbe

a NcPowspecMLCBE

 

Returns

the current value of the minimum mode $k$ computed by CLASS.


nc_powspec_ml_cbe_get_intern_k_max ()

gdouble
nc_powspec_ml_cbe_get_intern_k_max (NcPowspecMLCBE *ps_cbe);

Parameters

ps_cbe

a NcPowspecMLCBE

 

Returns

the current value of the maximum mode $k$ computed by CLASS.

Types and Values

NC_POWSPEC_ML_CBE_INTERN_KMIN

#define NC_POWSPEC_ML_CBE_INTERN_KMIN (1.0e-5)

NC_POWSPEC_ML_CBE_INTERN_KMAX

#define NC_POWSPEC_ML_CBE_INTERN_KMAX (1.0e1)

Property Details

The “cbe” property

  “cbe”                      NcCBE *

Class backend object.

Owner: NcPowspecMLCBE

Flags: Read / Write


The “intern-k-max” property

  “intern-k-max”             double

Class maximum mode $k$.

Owner: NcPowspecMLCBE

Flags: Read / Write / Construct

Allowed values: >= G_MINDOUBLE

Default value: 10


The “intern-k-min” property

  “intern-k-min”             double

Class minimum mode $k$.

Owner: NcPowspecMLCBE

Flags: Read / Write / Construct

Allowed values: >= G_MINDOUBLE

Default value: 1e-05