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

Go to the source code of this file.

Data Structures

struct  primordial
 

Enumerations

enum  primordial_spectrum_type
 
enum  linear_or_logarithmic
 
enum  potential_shape
 
enum  target_quantity
 
enum  integration_direction
 
enum  time_definition
 
enum  phi_pivot_methods
 
enum  inflation_module_behavior
 

Detailed Description

Input data and shared types for primordial spectra.


Data Structure Documentation

◆ primordial

struct primordial

Input parameters for primordial spectra.

Computed spectra belong to PrimordialModule; this structure holds the shared configuration read by InputModule.

Data Fields
double k_pivot = 0.05

pivot scale in $ Mpc^{-1} $

enum primordial_spectrum_type primordial_spec_type

type of primordial spectrum (simple analytic from, integration of inflationary perturbations, etc.)

double A_s = 2.215e-9

usual scalar amplitude = curvature power spectrum at pivot scale

double sigma8 = 0.

Mass dispersion at the scale 8 h Mpc^-1

double n_s = 0.9619

usual scalar tilt = [curvature power spectrum tilt at pivot scale -1]

double alpha_s = 0.

usual scalar running

double r = 1.

usual tensor to scalar ratio of power spectra, $ r=A_T/A_S=P_h/P_R $

double n_t

usual tensor tilt; default from single-field consistency (order 2 in slow-roll)

double alpha_t

usual tensor running; default from single-field consistency

double f_bi = 1.

baryon isocurvature (BI) entropy-to-curvature ratio $ S_{bi}/R $

double n_bi = 1.

BI tilt

double alpha_bi = 0.

BI running

double f_cdi = 1.

CDM isocurvature (CDI) entropy-to-curvature ratio $ S_{cdi}/R $

double n_cdi = 1.

CDI tilt

double alpha_cdi = 0.

CDI running

double f_nid

neutrino density isocurvature (NID) entropy-to-curvature ratio $ S_{nid}/R $

double n_nid = 1.

NID tilt

double alpha_nid = 0.

NID running

double f_niv

neutrino velocity isocurvature (NIV) entropy-to-curvature ratio $ S_{niv}/R $

double n_niv = 1.

NIV tilt

double alpha_niv = 0.

NIV running

double c_ad_bi = 0.

ADxBI cross-correlation at pivot scale, from -1 to 1

double n_ad_bi = 0.

ADxBI cross-correlation tilt

double alpha_ad_bi = 0.

ADxBI cross-correlation running

double c_ad_cdi = 0.

ADxCDI cross-correlation at pivot scale, from -1 to 1

double n_ad_cdi = 0.

ADxCDI cross-correlation tilt

double alpha_ad_cdi = 0.

ADxCDI cross-correlation running

double c_ad_nid = 0.

ADxNID cross-correlation at pivot scale, from -1 to 1

double n_ad_nid = 0.

ADxNID cross-correlation tilt

double alpha_ad_nid = 0.

ADxNID cross-correlation running

double c_ad_niv = 0.

ADxNIV cross-correlation at pivot scale, from -1 to 1

double n_ad_niv = 0.

ADxNIV cross-correlation tilt

double alpha_ad_niv = 0.

ADxNIV cross-correlation running

double c_bi_cdi = 0.

BIxCDI cross-correlation at pivot scale, from -1 to 1

double n_bi_cdi = 0.

BIxCDI cross-correlation tilt

double alpha_bi_cdi = 0.

BIxCDI cross-correlation running

double c_bi_nid = 0.

BIxNIV cross-correlation at pivot scale, from -1 to 1

double n_bi_nid = 0.

BIxNIV cross-correlation tilt

double alpha_bi_nid = 0.

BIxNIV cross-correlation running

double c_bi_niv = 0.

BIxNIV cross-correlation at pivot scale, from -1 to 1

double n_bi_niv = 0.

BIxNIV cross-correlation tilt

double alpha_bi_niv = 0.

BIxNIV cross-correlation running

double c_cdi_nid = 0.

CDIxNID cross-correlation at pivot scale, from -1 to 1

double n_cdi_nid = 0.

CDIxNID cross-correlation tilt

double alpha_cdi_nid = 0.

CDIxNID cross-correlation running

double c_cdi_niv = 0.

CDIxNIV cross-correlation at pivot scale, from -1 to 1

double n_cdi_niv = 0.

CDIxNIV cross-correlation tilt

double alpha_cdi_niv = 0.

CDIxNIV cross-correlation running

double c_nid_niv = 0.

NIDxNIV cross-correlation at pivot scale, from -1 to 1

double n_nid_niv = 0.

NIDxNIV cross-correlation tilt

double alpha_nid_niv = 0.

NIDxNIV cross-correlation running

enum potential_shape potential = polynomial

parameters describing the case primordial_spec_type = inflation_V

double V0 = 1.25e-13

one parameter of the function V(phi)

double V1 = -1.12e-14

one parameter of the function V(phi)

double V2 = -6.95e-14

one parameter of the function V(phi)

double V3 = 0.

one parameter of the function V(phi)

double V4 = 0.

one parameter of the function V(phi)

double H0 = 3.69e-6

one parameter of the function H(phi)

double H1 = -5.84e-7

one parameter of the function H(phi)

double H2 = 0.

one parameter of the function H(phi)

double H3 = 0.

one parameter of the function H(phi)

double H4 = 0.

one parameter of the function H(phi)

double phi_end = 0.

value of inflaton at the end of inflation

enum phi_pivot_methods phi_pivot_method

flag for method used to define and find the pivot scale

double phi_pivot_target

For each of the above methods, critical value to be reached between pivot and end of inflation (N_star, [aH]ratio, etc.)

enum inflation_module_behavior behavior

Specifies if the inflation module computes the primordial spectrum numerically (default) or analytically

string command

'external_Pk' mode: command generating the table of Pk and custom parameters to be passed to it string with the command for calling 'external_Pk'

double custom1 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom2 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom3 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom4 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom5 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom6 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom7 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom8 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom9 = 0.

one parameter of the primordial computed in 'external_Pk'

double custom10 = 0.

one parameter of the primordial computed in 'external_Pk'

short primordial_verbose

flag regulating the amount of information sent to standard output (none if set to zero)

Enumeration Type Documentation

◆ primordial_spectrum_type

enum defining how the primordial spectrum should be computed

◆ linear_or_logarithmic

enum defining whether the spectrum routine works with linear or logarithmic input/output

◆ potential_shape

enum defining the type of inflation potential function V(phi)

◆ target_quantity

enum defining which quantity plays the role of a target for evolving inflationary equations

◆ integration_direction

enum specifying if we want to integrate equations forward or backward in time

◆ time_definition

enum specifying if we want to evolve quantities with conformal or proper time

◆ phi_pivot_methods

enum specifying how, in the inflation_V_end case, the value of phi_pivot should calculated

◆ inflation_module_behavior

enum specifying how the inflation module computes the primordial spectrum (default: numerical)