NcPowspecMNL

NcPowspecMNL — Abstrac class for non-linear matter power spectrum implementation.

Stability Level

Stable, unless otherwise indicated

Functions

Object Hierarchy

    GObject
    ╰── NcmPowspec
        ╰── NcPowspecMNL
            ╰── NcPowspecMNLHaloFit

Includes

#include <numcosmo/nc_powspec_mnl.h>

Description

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

Functions

nc_powspec_mnl_ref ()

NcPowspecMNL *
nc_powspec_mnl_ref (NcPowspecMNL *ps_mnl);

Increases the reference count of ps_mnl by one atomically.

Parameters

ps_mnl

a NcmMSetCatalog

 

Returns

ps_mnl .

[transfer full]


nc_powspec_mnl_free ()

void
nc_powspec_mnl_free (NcPowspecMNL *ps_mnl);

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

Parameters

ps_mnl

a NcmMSetCatalog

 

nc_powspec_mnl_clear ()

void
nc_powspec_mnl_clear (NcPowspecMNL **ps_mnl);

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

Parameters

ps_mnl

a NcmMSetCatalog