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

Go to the source code of this file.

Data Structures

struct  output
 

Macros

#define _Z_PK_NUM_MAX_   100
 

Detailed Description

Output configuration shared with OutputModule.


Data Structure Documentation

◆ output

struct output

Structure containing various informations on the output format, all of them initialized by user in input module.

Data Fields
string root = "output/"

root for all file names

int z_pk_num = 1

number of redshift at which P(k,z) and T_i(k,z) should be written

double z_pk[_Z_PK_NUM_MAX_]

value(s) of redshift at which P(k,z) and T_i(k,z) should be written

bool write_header = true

flag stating whether we should write a header in output files

file_format output_format = file_format::class_format

which format for output files (definitions, order of columns, etc.)

bool write_background = false

flag for outputing background evolution in file

bool write_thermodynamics = false

flag for outputing thermodynamical evolution in file

bool write_perturbations

flag for outputing perturbations of selected wavenumber(s) in file(s)

bool write_primordial

flag for outputing scalar/tensor primordial spectra in files

short output_verbose

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

Macro Definition Documentation

◆ _Z_PK_NUM_MAX_

#define _Z_PK_NUM_MAX_   100

Maximum number of values of redshift at which the spectra will be written in output files