Module solver

Source
Expand description

Main PDE solver for the cosmological thermalization problem.

Key physics: energy injection → heats electrons (T_e > T_z) → Kompaneets source drives y-type distortion → DC/BR create photons to convert y → μ and approach Bose-Einstein equilibrium.

The Kompaneets equation is split into:

  1. Conservative redistribution at T_e^eq (no net energy change)
  2. Injection source ∝ (ρ_e - ρ_eq) that adds energy from injection

This ensures energy conservation: only injection adds energy.

References:

  • Chluba & Sunyaev (2012), MNRAS 419, 1294

Structs§

SolverBuilder
Fluent builder for ThermalizationSolver.
SolverConfig
Tunable solver parameters.
SolverDiagnostics
Diagnostic counters and extrema tracked during solver evolution.
SolverSnapshot
State of the photon distribution at a single redshift.
ThermalizationSolver
Full PDE solver for CMB spectral distortions.