|
CLASSpp Manual
Cosmology reference and developer manual
|
Go to the source code of this file.
Data Structures | |
| struct | nonlinear |
| struct | nonlinear_workspace |
| struct | nonlinear_time_workspace |
Macros | |
| #define | _M_EV_TOO_BIG_FOR_HALOFIT_ 10. |
| #define | _M_SUN_ 1.98841e30 |
Enumerations | |
| enum | source_extrapolation { } |
| enum class | HMcodeVersion |
Input data and shared types for nonlinear corrections.
| struct nonlinear |
Input parameters for nonlinear corrections.
Computed nonlinear spectra belong to NonlinearModule; this structure holds the shared configuration read by InputModule.
| Data Fields | ||
|---|---|---|
| enum non_linear_method | method |
method for computing non-linear corrections (none, Halogit, etc.) |
| enum source_extrapolation | extrapolation_method |
method for analytical extrapolation of sources beyond pre-computed range; extrap_max_scaled until 2026-10-21 |
| enum hmcode_baryonic_feedback_model | feedback | |
| double | c_min |
to choose between different baryonic feedback models in hmcode (dmonly, gas cooling, Agn or supernova feedback) |
| double | eta_0 = 0.0 |
for HMcode: minimum concentration in Bullock 2001 mass-concentration relation |
| double | z_infinity |
for HMcode: halo bloating parameter |
| HMcodeVersion | hmcode_version |
for HMcode: z value at which Dark Energy correction is evaluated; should be at early times (default: 10.) |
| double | log10T_heat_hmcode |
HMcode version: 2016 (Mead et al. 2016) or 2020 (Mead et al. 2021), with or without baryonic feedback |
| int | nk_wiggle |
for HMcode 2020 with baryonic feedback: log10 of the AGN heating temperature in K |
| bool | has_pk_eq = false |
for HMcode 2020: number of wavenumbers on which the linear spectrum is split into wiggle and no-wiggle parts flag: will we use the pk_eq method? |
| short | nonlinear_verbose = 0 |
amount of information written in standard output |
| struct nonlinear_workspace |
Structure containing variables used only internally in nonlinear module by various functions. It is filled before the loop over time and only read inside it, where the times are shared among threads; what changes with time is in nonlinear_time_workspace.
| struct nonlinear_time_workspace |
The HMcode tables of one time, filled and read while the non-linear correction is computed at that time: one per thread.
| Data Fields | ||
|---|---|---|
| vector< double > | rtab | |
| vector< double > | stab |
List of R values |
| vector< double > | ddstab |
List of Sigma Values |
| vector< double > | pk_wiggle |
Splined sigma HMcode 2020: wiggle part of the linear spectrum, as a dimensionless spectrum k^3/(2 pi^2) P_wiggle, on nonlinear_workspace::lnk_wiggle |
| vector< double > | ddpk_wiggle | |
| #define _M_EV_TOO_BIG_FOR_HALOFIT_ 10. |
above which value of non-CDM mass (in eV) do we stop trusting halofit?
| #define _M_SUN_ 1.98841e30 |
Solar mass in Kg: IAU 2015 nominal GM_sun over G
| enum source_extrapolation |
| Enumerator | |
|---|---|
| extrap_asymptotic | A ln k + B + C/k fitted over [k_max/3, k_max] (AsymptoticExtrapolation) |
|
strong |
HMcode versions. v2020_unfitted is the halo model without the fitted parameters, used internally by the baryonic feedback response of 2020 (Mead et al. 2021, arXiv:2009.01858).