|
CLASSpp Manual
Cosmology reference and developer manual
|
#include <perturb_source_context.h>
Data Fields | |
| double | delta_g = 0. |
| double | delta_b = 0. |
| int | b_idx_theta = -1 |
| int | idr_nature = 0 |
| double | R = 0. |
| double | cb2 = 0. |
| int | gauge = 0 |
Pre-computed scalar perturbation quantities, populated by PerturbationsModule::perturb_derivs_member() before calling species. Stored in perturb_workspace so every species can access shared state.
| double PerturbScalarContext::delta_g = 0. |
photon delta/theta (RSA-corrected)
| double PerturbScalarContext::delta_b = 0. |
baryon delta/theta
| int PerturbScalarContext::b_idx_theta = -1 |
baryon theta index in the perturb_vector y/dy arrays (used by photons TCA)
| int PerturbScalarContext::idr_nature = 0 |
nature of idr (free-streaming or fluid)
| double PerturbScalarContext::R = 0. |
4/3 * rho_g / rho_b, photon-baryon momentum ratio
| double PerturbScalarContext::cb2 = 0. |
baryon sound speed squared
| int PerturbScalarContext::gauge = 0 |
gauge: 0 = newtonian, 1 = synchronous (mirrors possible_gauges enum)