Method

NumCosmoRecombequilibrium_XHII

Declaration [src]

gdouble
nc_recomb_equilibrium_XHII (
  NcRecomb* recomb,
  NcHICosmo* cosmo,
  const gdouble x
)

Description [src]

Calculates the hydrogen-II fraction $X_\HyII$ assuming equilibrium at all times. It solves the system containing all Saha’s equations Eqs \eqref{eq:saha:HyI}, \eqref{eq:saha:HeI} and \eqref{eq:saha:HeII} and the constraints Eq \eqref{eq:Hy:add}, \eqref{eq:He:add} and \eqref{eq:def:Xe}.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
x

Type: const gdouble

Redshift factor, $x = 1+z$.

Return value

Type: gdouble

$X_\HyII$.