header.h
Go to the documentation of this file.
1
6#ifndef HEADER_H
7#define HEADER_H
8
9#define _GNU_SOURCE
10
11#include <time.h>
12#include <unistd.h>
13#include <stdlib.h>
14#include <stdio.h>
15#include <math.h>
16#include <float.h>
17#include <string.h>
18#include <omp.h>
19#include <gsl/gsl_errno.h>
20#include <gsl/gsl_spline.h>
21#include <gsl/gsl_interp2d.h>
22#include <gsl/gsl_spline2d.h>
23#include <gsl/gsl_sf_bessel.h>
24#include <gsl/gsl_sf_legendre.h>
25#include <gsl/gsl_integration.h>
26#include <gsl/gsl_matrix.h>
27#include <gsl/gsl_linalg.h>
28#include <gsl/gsl_blas.h>
29#include <gsl/gsl_monte.h>
30#include <gsl/gsl_monte_vegas.h>
31#include <gsl/gsl_odeiv2.h>
32#include <gsl/gsl_roots.h>
33#include <gsl/gsl_sf_expint.h>
34#include <ctype.h>
35#include "cuba.h"
36
37
38#define PSC 101L
39#define ST 102L
40#define TK 103L
41
42#define GROWTH 104L
43#define DERGROWTH 105L
44
45#define NONLINEAR 106L
46#define LINEAR 107L
47
48#define GAUSSIAN 114L
49#define NONGAUSSIAN 115L
50
51#define INIT 116L
52#define LOCAL 117L
53#define EQUILATERAL 118L
54#define ORTHOGONAL 119L
55#define QSF 120L
56#define HS 121L
57#define NGLOOP 122L
58#define derNGLOOP 123L
59
60#define QUADRATIC 124L
61#define TIDE 125L
62#define GAMMA 126L
63
64#define LPOWER 127L
65#define NLPOWER 128L
66#define CDM 90L
67#define BA 91L
68#define TOT 92L
69
70#define CO10 131L
71#define CO21 132L
72#define CO32 133L
73#define CO43 134L
74#define CO54 135L
75#define CO65 136L
76#define CII 137L
77
78#define MATTER 138L
79#define LINEMATTER 139L
80#define LINE 140L
81
82#define DST 141L
83#define GFILTER 142L
84#define BSPLINE 143L
85
86
87#define TREE 144L
88#define LOOP 145L
89#define WIR 146L
90#define NOIR 147L
91
92#define HALO 148L
93
94#define MEAN 149L
95#define HMshot 150L
96#define HMclust 151L
97
98#define PS_KMIN 1.e-5
99#define PS_KMAX 300.1
100#define PS_ZMAX 14.
101
102#define CLEANUP 1
103#define DO_NOT_EVALUATE -1.0
104#define NPARS 6
105#define MAXL 2000
106
107extern struct globals gb;
108
113#include "../Class/include/class.h"
115#include "global_structs.h"
116#include "hcubature.h"
117#include "utilities.h"
118#include "setup_teardown.h"
119#include "cosmology.h"
120#include "ir_res.h"
121#include "line_ingredients.h"
122#include "ps_halo_1loop.h"
123#include "ps_line_hm.h"
124#include "ps_line_pt.h"
125#include "survey_specs.h"
126#include "wnw_split.h"
127
128
129
134{
135 double p1;
136 double p2;
137 double p3;
138 double p4;
139 double p5;
140 double p6;
141 double p7;
142 double p8;
143 double p9;
144 double p10;
145 double p11;
146 long p12;
147 long p13;
148};
149
154{
155
156 struct Cosmology *p1;
157 struct Cosmology *p2;
158 struct Cosmology *p3;
159
160 double p4;
161 double p5;
162 double p6;
163 double p7;
164 double p8;
165 double p9;
166 double p10;
167 double p11;
168 double p12;
169
170 long p13;
171 long p14;
172 long p15;
173 long p16;
174 long p17;
175 long p18;
176
177 int p19;
178
179 double *p20;
180 size_t p22;
181};
182
183
184#endif
185
186
187
188
189
190
191
struct globals gb
Definition: main.c:14
Structure that holds varioud quantities that need to be evaluated for a given choice of cosmological ...
Definition: Global_Structs.h:35
A global structure including the values of cosmological parmaeters, 2d interpolator of SFR,...
Definition: Global_Structs.h:87
Another structure passed to the integrators to hold the parameters fixed in the integration.
Definition: header.h:154
double * p20
Definition: header.h:179
double p5
Definition: header.h:161
long p17
Definition: header.h:174
double p11
Definition: header.h:167
struct Cosmology * p1
Definition: header.h:156
struct Cosmology * p3
Definition: header.h:158
long p15
Definition: header.h:172
double p7
Definition: header.h:163
struct Cosmology * p2
Definition: header.h:157
double p4
Definition: header.h:160
double p8
Definition: header.h:164
long p13
Definition: header.h:170
double p6
Definition: header.h:162
double p10
Definition: header.h:166
size_t p22
Definition: header.h:180
double p12
Definition: header.h:168
double p9
Definition: header.h:165
long p14
Definition: header.h:171
long p16
Definition: header.h:173
int p19
Definition: header.h:177
long p18
Definition: header.h:175
List of limHaloPT header files.
Definition: header.h:134
double p5
Definition: header.h:139
double p11
Definition: header.h:145
double p7
Definition: header.h:141
double p3
Definition: header.h:137
double p4
Definition: header.h:138
double p8
Definition: header.h:142
long p13
Definition: header.h:147
long p12
Definition: header.h:146
double p6
Definition: header.h:140
double p10
Definition: header.h:144
double p9
Definition: header.h:143
double p2
Definition: header.h:136
double p1
Definition: header.h:135