Top |
NcHIPrimNcHIPrim — Abstract class for implementing homogeneous and isotropic primordial cosmological models. |
gdouble | (*NcHIPrimFunc1) () |
NcHIPrim * | nc_hiprim_ref () |
void | nc_hiprim_free () |
void | nc_hiprim_clear () |
void | nc_hiprim_log_all_models () |
void | nc_hiprim_set_k_pivot () |
gdouble | nc_hiprim_get_k_pivot () |
gdouble | nc_hiprim_get_lnk_pivot () |
gdouble | nc_hiprim_lnSA_powspec_lnk () |
gdouble | nc_hiprim_lnT_powspec_lnk () |
gdouble | nc_hiprim_SA_powspec_k () |
gdouble | nc_hiprim_T_powspec_k () |
gdouble | nc_hiprim_SA_Ampl () |
gdouble | nc_hiprim_T_Ampl () |
gdouble | nc_hiprim_T_SA_ratio () |
void | nc_hiprim_set_lnSA_powspec_lnk_impl () |
void | nc_hiprim_set_lnT_powspec_lnk_impl () |
enum | NcHIPrimImpl |
#define | NC_HIPRIM_DEFAULT_K_PIVOT |
#define | NC_HIPRIM_DEFAULT_PARAMS_RELTOL |
#define | NC_HIPRIM_DEFAULT_PARAMS_ABSTOL |
GFlags ╰── NcHIPrimImpl GObject ╰── NcmModel ╰── NcHIPrim ├── NcHIPrimAtan ├── NcHIPrimBPL ├── NcHIPrimExpc ├── NcHIPrimPowerLaw ├── NcHIPrimSBPL ╰── NcHIPrimTwoFluids
NcHIPrim *
nc_hiprim_ref (NcHIPrim *prim
);
Increases the reference count of prim
by one.
void
nc_hiprim_free (NcHIPrim *prim
);
Atomically decreases the reference count of prim
by one. If the reference count drops to 0,
all memory allocated by prim
is released.
void
nc_hiprim_clear (NcHIPrim **prim
);
The reference count of prim
is decreased and the pointer is set to NULL.
void
nc_hiprim_log_all_models (GType parent
);
Logs all models descending from parent
.
void nc_hiprim_set_k_pivot (NcHIPrim *prim
,gdouble k_pivot
);
Sets k_pivot
to the respective property.
gdouble
nc_hiprim_get_k_pivot (NcHIPrim *prim
);
Gets the value of the pivotal $k$.
gdouble
nc_hiprim_get_lnk_pivot (NcHIPrim *prim
);
Gets the value of the pivotal $k$.
gdouble nc_hiprim_lnSA_powspec_lnk (NcHIPrim *prim
,const gdouble lnk
);
Gets the natural logarithm of the scalar adiabatic power spectrum as a function of $\ln(k\mathrm{Mpc})$
Return: $\log(P_{SA})$
[virtual lnSA_powspec_lnk]
gdouble nc_hiprim_lnT_powspec_lnk (NcHIPrim *prim
,const gdouble lnk
);
Gets the natural logarithm of the tensor power spectrum as a function of $\ln(k\mathrm{Mpc})$
Return: $\log(P_{T})$
[virtual lnT_powspec_lnk]
gdouble nc_hiprim_SA_powspec_k (NcHIPrim *prim
,const gdouble k
);
Gets the scalar adiabatic power spectrum as a function of $k$.
Return: $P_{SA}$
gdouble nc_hiprim_T_powspec_k (NcHIPrim *prim
,const gdouble k
);
Gets the tensor power spectrum as a function of $k$.
Return: $P_{T}$
gdouble
nc_hiprim_SA_Ampl (NcHIPrim *prim
);
Gets the scalar adiabatic power spectrum amplitude, i.e., $P_{SA}(k_\mathrm{pivot})$.
Return: $P_{SA}(k_\mathrm{pivot})$
gdouble
nc_hiprim_T_Ampl (NcHIPrim *prim
);
Gets the tensor power spectrum amplitude, i.e., $P_{T}(k_\mathrm{pivot})$.
Return: $P_{T}(k_\mathrm{pivot})$
gdouble
nc_hiprim_T_SA_ratio (NcHIPrim *prim
);
Gets the tensor-to-scalar ratio.
Return: $P_{T}(k_\mathrm{pivot})/P_{SA}(k_\mathrm{pivot})$
void nc_hiprim_set_lnSA_powspec_lnk_impl (NcHIPrimClass *model_class
,NcHIPrimFunc1 f
);
FIXME
[skip]
void nc_hiprim_set_lnT_powspec_lnk_impl (NcHIPrimClass *model_class
,NcHIPrimFunc1 f
);
FIXME
[skip]