|
CLASSpp Manual
Cosmology reference and developer manual
|
Go to the source code of this file.
Data Structures | |
| struct | EnergyDeposition |
Enumerations | |
| enum | energy_deposition_function { deposition_Galli_2013 , deposition_legacy } |
Functions | |
| EnergyDeposition | energy_deposition_fractions (energy_deposition_function which, double x) |
How injected energy is split between deposition channels.
| struct EnergyDeposition |
Fractions of the deposited energy reaching each channel, each in [0,1].
They are NOT a partition of unity. Galli et al. 2013 computes every channel separately, and the published rows sum to between 0.993 and 1.019 across the table. So do not read one channel as "whatever the others did not take", and do not rely on the set being exactly energy-conserving.
List of possible energy-deposition functions chi_c(x).
Energy injected by decaying or annihilating dark matter does not all end up in the same place: some ionizes hydrogen or helium, some excites the Lyman-alpha transition, some heats the gas, and some is left below the Lyman-alpha threshold and does nothing. These are the fractions chi_c(x) of the deposited energy that reach each channel, as a function of the ionization fraction.
| EnergyDeposition energy_deposition_fractions | ( | energy_deposition_function | which, |
| double | x | ||
| ) |
Evaluate the deposition fractions at ionization fraction x.
x is CLASS's x = x_H + f_He x_He, so it exceeds 1 while helium is still ionized; the fractions saturate to pure heating there. Values are clamped to [0,1] so that spline ringing across the shoulder near x = 1 can never produce a negative fraction.