CosmoGRaPH v0.0
cosmo_types.h
1 #ifndef COSMO_TYPES
2 #define COSMO_TYPES
3 
4 #include "utils/Array.h"
5 #include "utils/RK4Register.h"
6 #include <string>
7 #include <map>
8 
9 namespace cosmo
10 {
11 
12 #if USE_LONG_DOUBLES
13 // changing this affects FFTs:
14 typedef long double real_t;
15 // see http://www.fftw.org/doc/Precision.html
16 #else
17 typedef double real_t;
18 #endif
19 
20 typedef long int idx_t;
22 typedef CosmoArray<idx_t, real_t> arr_t;
24 typedef RK4Register<idx_t, real_t> register_t;
26 typedef std::map <std::string, arr_t *> map_t;
28 } /* namespace cosmo */
29 
30 #endif
Definition: bardeen.cc:5