CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
background.h File Reference
#include <memory>
#include <vector>
#include "arrays.h"
#include "common.h"
#include "dei_rkck.h"
#include "parser.h"
#include "quadrature.h"

Go to the source code of this file.

Macros

Some limits on possible background parameters
#define _h_BIG_   1.5
 
#define _h_SMALL_   0.3
 
#define _omegab_BIG_   0.039
 
#define _omegab_SMALL_   0.005
 
Some limits imposed in other parts of the module:
#define _SCALE_BACK_    0.1
 

Enumerations

enum  equation_of_state
 
enum class  ClosureSpecies
 

Detailed Description

Input data and shared types for background evolution.

Macro Definition Documentation

◆ _h_BIG_

#define _h_BIG_   1.5

maximal $ h $

◆ _h_SMALL_

#define _h_SMALL_   0.3

minimal $ h $

◆ _omegab_BIG_

#define _omegab_BIG_   0.039

maximal $ omega_b $

◆ _omegab_SMALL_

#define _omegab_SMALL_   0.005

minimal $ omega_b $

◆ _SCALE_BACK_

#define _SCALE_BACK_    0.1

logarithmic step used when searching for an initial scale factor at which ncdm are still relativistic

Enumeration Type Documentation

◆ equation_of_state

list of possible parametrisations of the DE equation of state

◆ ClosureSpecies

enum class ClosureSpecies
strong

Input parameters for the background calculation.

Computed background tables belong to BackgroundModule; this structure holds the shared configuration read by InputModule. Which of {Lambda, Fluid, ScalarField} (if any) is the budget-closure species — inferred during input parsing from which corresponding Omega parameter was left unspecified (Omega_Lambda or Omega_fld) or set to the negative-sentinel value (Omega_scf < 0), and consumed by InputModule::ConstructSpecies after all non-closure species are built. Defined at file scope (not nested in background) so that generate_wrapper.py's struct parser doesn't see the enum's }; and prematurely terminate the background struct.