| Top |
NcHIPrimNcHIPrim — Abstract class for implementing homogeneous and isotropic primordial cosmological models. |
Functions
| gdouble | (*NcHIPrimFunc1) () |
| NcHIPrim * | nc_hiprim_new_from_name () |
| 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 () |
Types and Values
| enum | NcHIPrimImpl |
| #define | NC_HIPRIM_DEFAULT_K_PIVOT |
| #define | NC_HIPRIM_DEFAULT_PARAMS_RELTOL |
| #define | NC_HIPRIM_DEFAULT_PARAMS_ABSTOL |
Object Hierarchy
GFlags ╰── NcHIPrimImpl GObject ╰── NcmModel ╰── NcHIPrim ├── NcHIPrimAtan ├── NcHIPrimBPL ├── NcHIPrimExpc ├── NcHIPrimPowerLaw ╰── NcHIPrimSBPL
Functions
nc_hiprim_new_from_name ()
NcHIPrim * nc_hiprim_new_from_name (GType parent_type,gchar *prim_name);
This function instantiates a new object of type NcHIPrim.
nc_hiprim_ref ()
NcHIPrim *
nc_hiprim_ref (NcHIPrim *prim);
Increases the reference count of prim
by one.
nc_hiprim_free ()
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.
nc_hiprim_clear ()
void
nc_hiprim_clear (NcHIPrim **prim);
The reference count of prim
is decreased and the pointer is set to NULL.
nc_hiprim_log_all_models ()
void
nc_hiprim_log_all_models (GType parent);
Logs all models descending from parent
.
nc_hiprim_set_k_pivot ()
void nc_hiprim_set_k_pivot (NcHIPrim *prim,gdouble k_pivot);
Sets k_pivot
to the respective property.
nc_hiprim_get_k_pivot ()
gdouble
nc_hiprim_get_k_pivot (NcHIPrim *prim);
Gets the value of the pivotal $k$.
nc_hiprim_get_lnk_pivot ()
gdouble
nc_hiprim_get_lnk_pivot (NcHIPrim *prim);
Gets the value of the pivotal $k$.
nc_hiprim_lnSA_powspec_lnk ()
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]
nc_hiprim_lnT_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]
nc_hiprim_SA_powspec_k ()
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}$
nc_hiprim_T_powspec_k ()
gdouble nc_hiprim_T_powspec_k (NcHIPrim *prim,const gdouble k);
Gets the tensor power spectrum as a function of $k$.
Return: $P_{T}$
nc_hiprim_SA_Ampl ()
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})$
nc_hiprim_T_Ampl ()
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})$
nc_hiprim_T_SA_ratio ()
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})$
nc_hiprim_set_lnSA_powspec_lnk_impl ()
void nc_hiprim_set_lnSA_powspec_lnk_impl (NcHIPrimClass *model_class,NcHIPrimFunc1 f);
FIXME
[skip]
nc_hiprim_set_lnT_powspec_lnk_impl ()
void nc_hiprim_set_lnT_powspec_lnk_impl (NcHIPrimClass *model_class,NcHIPrimFunc1 f);
FIXME
[skip]