CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
output.h
Go to the documentation of this file.
1
3#ifndef __OUTPUT__
4#define __OUTPUT__
5
6#include <string>
7
8#include "common.h"
9#include "lensing.h"
10
16#define _Z_PK_NUM_MAX_ 100
17
24struct output {
26
27 std::string root = "output/";
30
34
35 int z_pk_num = 1;
36 double z_pk[_Z_PK_NUM_MAX_] = {
37 0.};
40
44
45 bool write_header = true;
48 file_format output_format = file_format::class_format;
49
50 bool write_background = false;
51 bool write_thermodynamics = false;
53 false;
55 false;
58
62
64 0;
67};
68
69#endif
bool write_perturbations
Definition output.h:52
std::string root
Definition output.h:27
int z_pk_num
Definition output.h:35
bool write_primordial
Definition output.h:54
bool write_header
Definition output.h:45
file_format output_format
Definition output.h:48
short output_verbose
Definition output.h:63
bool write_background
Definition output.h:50
#define _Z_PK_NUM_MAX_
Definition output.h:16
double z_pk[_Z_PK_NUM_MAX_]
Definition output.h:36
bool write_thermodynamics
Definition output.h:51
Definition output.h:24
file_format
Definition precision.h:40