Transfer Function Abstract Class

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

Synopsis

struct              NcTransferFunc;
struct              NcTransferFuncClass;
gdouble             nc_transfer_func_eval               (NcTransferFunc *tf,
                                                         NcHICosmo *model,
                                                         gdouble kh);
void                nc_transfer_func_free               (NcTransferFunc *tf);
gdouble             nc_transfer_func_matter_powerspectrum
                                                        (NcTransferFunc *tf,
                                                         NcHICosmo *model,
                                                         gdouble kh);
NcTransferFunc *    nc_transfer_func_new_from_name      (gchar *transfer_name);
void                nc_transfer_func_prepare            (NcTransferFunc *tf,
                                                         NcHICosmo *model);

Object Hierarchy

  GObject
   +----NcTransferFunc
         +----NcTransferFuncBBKS
         +----NcTransferFuncCAMB
         +----NcTransferFuncEH
         +----NcTransferFuncPert

Description

This module comprises the set of functions to compute the transfer function and derived quantities. See also Transfer Function.

Details

struct NcTransferFunc

struct NcTransferFunc;

struct NcTransferFuncClass

struct NcTransferFuncClass {
};

nc_transfer_func_eval ()

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

FIXME

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.

tf :

a NcTransferFunc.

nc_transfer_func_matter_powerspectrum ()

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

FIXME

tf :

a NcTransferFunc.

model :

a NcHICosmo.

kh :

FIXME

Returns :

FIXME

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.

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

tf :

a NcTransferFunc.

model :

a NcHICosmo.