CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
precision.h File Reference
#include <float.h>
#include <string>
#include "constants.h"
#include "errors.h"

Go to the source code of this file.

Data Structures

struct  precision
 

Enumerations

enum class  evolver_type
 
enum class  pk_def { delta_m_squared , delta_tot_squared , delta_bc_squared , delta_tot_from_poisson_squared }
 
enum class  file_format
 
enum class  tca_method
 

Detailed Description

Precision parameters and the enums they use.

Enumeration Type Documentation

◆ evolver_type

enum class evolver_type
strong

parameters related to the precision of the code and to the method of calculation list of evolver types for integrating perturbations over time

◆ pk_def

enum class pk_def
strong

List of ways in which matter power spectrum P(k) can be defined. The standard definition is the first one (delta_m_squared) but alternative definitions can be useful in some projects.

Enumerator
delta_m_squared 

normal definition (delta_m includes all non-relativistic species at late times)

delta_tot_squared 

delta_tot includes all species contributions to (delta rho), and only non-relativistic contributions to rho

delta_bc_squared 

delta_bc includes contribution of baryons and cdm only to (delta rho) and to rho

delta_tot_from_poisson_squared 

use delta_tot inferred from gravitational potential through Poisson equation

◆ file_format

enum class file_format
strong

Different ways to present output files

◆ tca_method

enum class tca_method
strong

Approximation scheme labels used as precision parameter defaults