|
CLASSpp Manual
Cosmology reference and developer manual
|
#include "transfer.h"Go to the source code of this file.
Data Structures | |
| struct | spectra |
Input data and shared types for power spectra.
| struct spectra |
Input parameters for harmonic and matter power spectra.
Computed spectra belong to SpectraModule; this structure holds the shared configuration read by InputModule.
| Data Fields | ||
|---|---|---|
| double | z_max_pk = 0. |
maximum z for P(k,z) output; set from perturbs by the reader |
| int | non_diag = 0 |
sets the number of cross-correlation spectra that you want to calculate: 0 means only auto-correlation, 1 means only adjacent bins, and number of bins minus one means all correlations |
| struct nonlinear * | pnl |
a pointer to the nonlinear structure is stored in the spectra structure. This odd, unusual and unelegant feature has been introduced in v2.8 in order to keep in use some deprecated functions spectra_pk_...() that are now pointing at new function nonlinear_pk_...(). In the future, if the deprecated functions are removed, it will be possible to remove also this pointer. |
| short | spectra_verbose |
flag regulating the amount of information sent to standard output (none if set to zero) |