Class
NumCosmoHIPrimTwoFluids
Description [src]
class NumCosmo.HIPrimTwoFluids : NumCosmo.HIPrim
{
/* No available fields */
}
Two Fluids implementation for primordial spectra.
Primordial adiabatic scalar power spectrum obtained from a two fluids model.
Functions
nc_hiprim_two_fluids_clear
If *two_fluids is not NULL, the reference count of the object is decreased and the
pointer is set to NULL.
Instance methods
nc_hiprim_two_fluids_free
Decreases the reference count of the object. When its reference count drops to 0, the object is finalized.
nc_hiprim_two_fluids_peek_Pk0_spline
Get the spline for the normalization of the power spectrum as a function of $\ln(w)$.
nc_hiprim_two_fluids_peek_lnk_lnw_spline
Get the spline for the primordial adiabatic scalar power spectrum as a function of $\ln(k)$ and $\ln(w)$.
nc_hiprim_two_fluids_set_Pk0_spline
Set the spline for the normalization of the power spectrum as a function of ln(w).
nc_hiprim_two_fluids_set_lnk_lnw_spline
Set the spline for the primordial adiabatic scalar power spectrum as a function of ln(k) and ln(w).
Methods inherited from NcHIPrim (13)
nc_hiprim_SA_Ampl
Gets the scalar adiabatic power spectrum amplitude, i.e., $P_{SA}(k_\mathrm{pivot})$.
nc_hiprim_SA_powspec_k
Gets the scalar adiabatic power spectrum as a function of $k$.
nc_hiprim_T_Ampl
Gets the tensor power spectrum amplitude, i.e., $P_{T}(k_\mathrm{pivot})$.
nc_hiprim_T_SA_ratio
Gets the tensor-to-scalar ratio.
nc_hiprim_T_powspec_k
Gets the tensor power spectrum as a function of $k$.
nc_hiprim_free
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_get_k_pivot
Gets the value of the pivotal $k$.
nc_hiprim_get_lnk_pivot
Gets the value of the pivotal $k$.
nc_hiprim_get_lnk_range
Gets the range of $\ln(k\mathrm{Mpc})$ where the model is defined: unbounded, $\pm$G_MAXDOUBLE,
for a closed form, and the range of its table for a tabulated model, outside which its
value is extrapolated. Callers that sample the spectrum should stay inside it.
nc_hiprim_lnSA_powspec_lnk
Gets the natural logarithm of the scalar adiabatic power spectrum as a function of $\ln(k\mathrm{Mpc})$.
nc_hiprim_lnT_powspec_lnk
Gets the natural logarithm of the tensor power spectrum as a function of $\ln(k\mathrm{Mpc})$.
nc_hiprim_ref
Increases the reference count of prim by one.
nc_hiprim_set_k_pivot
Sets k_pivot to the respective property.
Properties
Properties inherited from NcHIPrim (1)
Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
The implementation flags of the model class, see ncm_model_check_impl_flag().
NumCosmoMath.Model:name
The name of the model class.
NumCosmoMath.Model:nick
The nickname of the model class.
NumCosmoMath.Model:params-types
The NcmParamType of each parameter.
NumCosmoMath.Model:reparam
The reparametrization, see ncm_model_set_reparam().
NumCosmoMath.Model:scalar-params-len
The number of scalar parameters.
NumCosmoMath.Model:sparam-array
The parameter descriptions that differ from the class ones, NcmSParam keyed by
parameter index. Each one is placed by its parameter name: a description of a
parameter declared with ncm_model_class_add_removed_param() is skipped, and one of
any other unknown parameter aborts.
NumCosmoMath.Model:submodel-array
The submodels, attached at construction.
NumCosmoMath.Model:vector-params-len
The number of vector parameters (not their lengths).
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.