CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
recombination_model.h File Reference

Go to the source code of this file.

Data Structures

struct  FundamentalConstants
 
struct  RecombinationState
 
struct  IonisationDerivatives
 
class  RecombinationModel
 

Detailed Description

The atomic physics behind dx_H/dz and dx_He/dz.


Data Structure Documentation

◆ RecombinationState

struct RecombinationState

State handed to a recombination model at one point of the integration.

Everything a model needs and nothing it should be choosing for itself: the expansion rate comes from CLASS's background, not from any internal reconstruction, and the phase flags are owned by the driver rather than re-derived from the state (mirroring the perturbations module).

Data Fields
double z = 0.0

redshift

double x_H = 0.0

HII fraction, relative to total hydrogen

double x_He = 0.0

HeII fraction, relative to total helium

double x = 0.0

x_H + f_He x_He, the free-electron fraction per hydrogen nucleus

double n_H = 0.0

hydrogen number density in m^-3

double H = 0.0

Hubble rate in s^-1

double T_mat = 0.0

baryon temperature in K

double T_rad = 0.0

photon temperature in K

bool hydrogen_frozen = false

hydrogen follows its Saha branch; report dx_H/dz = 0

bool helium_ode = false

helium is being evolved rather than held at Saha equilibrium

FundamentalConstants constants

alpha and m_e at z

◆ IonisationDerivatives

struct IonisationDerivatives

Derivatives with respect to redshift of the two ionization fractions.