Module electron_temp

Source
Expand description

Electron temperature state (ρ_e = T_e/T_z).

This module provides the ElectronTemperature struct used by the solver to hold the current T_e/T_z ratio. The production T_e update is performed in solver::compute_hubble_coefficients using a perturbative form of the Compton equilibrium:

Δρ_eq = ΔI₄/(4 G₃) − ΔG₃/G₃ × (I₄/(4G₃))

computed from Δn only. The full form ρ_eq = I₄/(4G₃) (below) has ~0.1% numerical error from near-cancellation that swamps the O(10⁻⁵) physical signal — do not use it in the solver. It is retained here only as a verification tool for off-path consistency checks and tests.

References:

  • Chluba & Sunyaev (2012), MNRAS 419, 1294 [Eq. 15-18]

Structs§

ElectronTemperature
State of the electron temperature solver.