CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
nonlinear.h File Reference
#include <vector>
#include "primordial.h"
#include "trigonometric_integrals.h"

Go to the source code of this file.

Data Structures

struct  nonlinear
 
struct  nonlinear_workspace
 

Macros

#define _M_EV_TOO_BIG_FOR_HALOFIT_    10.
 
#define _M_SUN_   1.98847e30
 

Detailed Description

Input data and shared types for nonlinear corrections.


Data Structure Documentation

◆ nonlinear

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

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

for HMcode: minimum concentration in Bullock 2001 mass-concentration relation

double z_infinity

for HMcode: halo bloating parameter

bool has_pk_eq = false

for HMcode: z value at which Dark Energy correction is evaluated; should be at early times (default: 10.) flag: will we use the pk_eq method?

short nonlinear_verbose = 0

amount of information written in standard output

◆ nonlinear_workspace

struct nonlinear_workspace

Structure containing variables used only internally in nonlinear module by various functions.

Data Fields
vector< double > rtab
vector< double > stab

List of R values

vector< double > ddstab

List of Sigma Values

vector< double > growtable

Splined sigma

vector< double > ztable
vector< double > tautable
vector< double * > sigma_8
vector< double * > sigma_disp
vector< double * > sigma_disp_100
vector< double * > sigma_prime
vector< vector< double > > sigma_8_storage
vector< vector< double > > sigma_disp_storage
vector< vector< double > > sigma_disp_100_storage
vector< vector< double > > sigma_prime_storage
double dark_energy_correction

Macro Definition Documentation

◆ _M_EV_TOO_BIG_FOR_HALOFIT_

#define _M_EV_TOO_BIG_FOR_HALOFIT_    10.

above which value of non-CDM mass (in eV) do we stop trusting halofit?

◆ _M_SUN_

#define _M_SUN_   1.98847e30

Solar mass in Kg