![]() |
![]() |
![]() |
NumCosmo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
Transfer Function Abstract ClassTransfer Function Abstract Class — Defines the prototype of the NcTransferFunc object. |
Synopsis
struct NcTransferFunc; struct NcTransferFuncClass; void nc_transfer_func_clear (NcTransferFunc **tf
); 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.
Details
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.
|
a NcTransferFunc. |
nc_transfer_func_eval ()
gdouble nc_transfer_func_eval (NcTransferFunc *tf
,NcHICosmo *model
,gdouble kh
);
FIXME
|
a NcTransferFunc. |
|
a NcHICosmo. |
|
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.
|
a NcTransferFunc. |
nc_transfer_func_matter_powerspectrum ()
gdouble nc_transfer_func_matter_powerspectrum (NcTransferFunc *tf
,NcHICosmo *model
,gdouble kh
);
FIXME
|
a NcTransferFunc. |
|
a NcHICosmo. |
|
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
.
|
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
|
a NcTransferFunc. |
|
a NcHICosmo. |