NcPowspecML

NcPowspecML — Abstract class for linear matter power spectrum implementation.

Stability Level

Stable, unless otherwise indicated

Functions

Properties

double kmax Read / Write / Construct
double kmin Read / Write / Construct
double zf Read / Write / Construct
double zi Read / Write / Construct

Object Hierarchy

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

Includes

#include <numcosmo/nc_powspec_ml.h>

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_ref ()

NcPowspecML *
nc_powspec_ml_ref (NcPowspecML *ps_ml);

Increases the reference count of ps_ml by one atomically.

Parameters

ps_ml

a NcPowspecML

 

Returns

ps_ml .

[transfer full]


nc_powspec_ml_free ()

void
nc_powspec_ml_free (NcPowspecML *ps_ml);

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

Parameters

ps_ml

a NcPowspecML

 

nc_powspec_ml_clear ()

void
nc_powspec_ml_clear (NcPowspecML **ps_ml);

If ps_ml is different from NULL, atomically decrements the reference count of ps_ml by one. If the reference count drops to 0, all memory allocated by ps_ml is released and ps_ml is set to NULL.

Parameters

ps_ml

a NcPowspecML

 

Property Details

The “kmax” property

  “kmax”                     double

The maximum mode (wave-number) value to compute $P(k,z)$.

Owner: NcPowspecML

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 1000


The “kmin” property

  “kmin”                     double

The minimum mode (wave-number) value to compute $P(k,z)$.

Owner: NcPowspecML

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 1e-06


The “zf” property

  “zf”                       double

The final time (redshift) to compute $P(k,z)$.

Owner: NcPowspecML

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 5


The “zi” property

  “zi”                       double

The initial time (redshift) to compute $P(k,z)$.

Owner: NcPowspecML

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 0