NcTransferFunc

NcTransferFunc — Abstrac class for perturbation transfer function.

Object Hierarchy

    GObject
    ╰── NcTransferFunc
        ├── NcTransferFuncBBKS
        ├── NcTransferFuncCAMB
        ╰── NcTransferFuncEH

Description

This module comprises the set of functions to compute the transfer function and derived quantities.

Functions

nc_transfer_func_new_from_name ()

NcTransferFunc *
nc_transfer_func_new_from_name (gchar *transfer_name);

This function returns a new NcTransferFunc whose type is defined by transfer_name .

Parameters

transfer_name

string which specifies the transfer function type.

 

Returns

A new NcTransferFunc.

[transfer full]


nc_transfer_func_ref ()

NcTransferFunc *
nc_transfer_func_ref (NcTransferFunc *tf);

Increases the reference count of tf atomically.

Parameters

tf

a NcTransferFunc

 

Returns

tf .

[transfer full]


nc_transfer_func_free ()

void
nc_transfer_func_free (NcTransferFunc *tf);

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

Parameters

tf

a NcTransferFunc.

 

nc_transfer_func_clear ()

void
nc_transfer_func_clear (NcTransferFunc **tf);

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

Parameters

tf

a NcTransferFunc.

 

nc_transfer_func_prepare ()

void
nc_transfer_func_prepare (NcTransferFunc *tf,
                          NcHICosmo *cosmo);

FIXME

Parameters

tf

a NcTransferFunc

 

cosmo

a NcHICosmo

 

nc_transfer_func_prepare_if_needed ()

void
nc_transfer_func_prepare_if_needed (NcTransferFunc *tf,
                                    NcHICosmo *cosmo);

FIXME

Parameters

tf

a NcTransferFunc

 

cosmo

a NcHICosmo

 

nc_transfer_func_eval ()

gdouble
nc_transfer_func_eval (NcTransferFunc *tf,
                       NcHICosmo *cosmo,
                       gdouble kh);

FIXME

Parameters

tf

a NcTransferFunc.

 

cosmo

a NcHICosmo.

 

kh

FIXME

 

Returns

FIXME

Types and Values