Class
NumCosmoScalefactor
Description [src]
class NumCosmo.Scalefactor : GObject.Object
{
/* No available fields */
}
Scale factor as a function of the conformal time.
Integrates the first order Friedmann equation, $$E^2 = \frac{\rho}{\rho_{\mathrm{crit}0}} + \Omega_{k0} x^2.$$ Where ${\mathrm{crit}0}$ is the critical density today [nc_hicosmo_crit_density()], $E = H / H_0$ is the dimensionless Hubble function [nc_hicosmo_E()] and $\Omega_{k0}$ is the curvature parameter today [nc_hicosmo_Omega_k0()].
Functions
nc_scalefactor_clear
If a is different from NULL, decreases the reference
count of a by one and sets *a to NULL.
Instance methods
nc_scalefactor_prepare
Prepares the object a using the cosmological model cosmo.
This function computes the scale factor evolution and prepares
internal splines for interpolation.
nc_scalefactor_prepare_if_needed
Prepares the object a using the cosmological model cosmo if the model
has changed since the last preparation. This function checks if an update
is needed before recomputing the scale factor evolution.
nc_scalefactor_set_a0_conformal_normal
When enable is TRUE, it sets the value of the scale factor
today $a_0$, assuming that the conformal hypersurface
the spatial hypersurface where ($a=1$) hascurvature
equals to 1Mpc, i.e., $1/\sqrt{K} = 1\,\mathrm{Mpc}$.
If enable is FALSE it lets $a_0$ untouched. *.
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.