Transfer Function Abstract Class

Transfer Function Abstract Class — Defines the prototype of the NcTransferFunc object.

Object Hierarchy

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

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.


nc_transfer_func_prepare ()

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

FIXME

Parameters

tf

a NcTransferFunc.

 

model

a NcHICosmo.

 

nc_transfer_func_eval ()

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

FIXME

Parameters

tf

a NcTransferFunc.

 

model

a NcHICosmo.

 

kh

FIXME

 

Returns

FIXME


nc_transfer_func_matter_powerspectrum ()

gdouble
nc_transfer_func_matter_powerspectrum (NcTransferFunc *tf,
                                       NcHICosmo *model,
                                       gdouble kh);

FIXME

Parameters

tf

a NcTransferFunc.

 

model

a NcHICosmo.

 

kh

FIXME

 

Returns

FIXME


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.

 

Types and Values