CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
gVariables.hh
Go to the documentation of this file.
1 
10 #ifndef GVARIABLES_HH
11 #define GVARIABLES_HH 1
12 
13 // All includes
14 #include <iostream>
15 #include <fstream>
16 #include <sstream>
17 #include <cstdio>
18 #include <cstdlib>
19 #include <cstring>
20 #include <stdint.h>
21 #include <string>
22 #include <cmath>
23 #include <ctime>
24 #include <map>
25 #include <stdexcept>
26 #include <vector>
27 #include <algorithm>
28 #include <sys/stat.h>
29 #include <random>
30 #ifdef CASTOR_OMP
31 #include <omp.h>
32 #endif
33 #ifdef CASTOR_MPI
34 #include <mpi.h>
35 #endif
36 #ifdef _WIN32
37 #include <windows.h>
38 #endif
39 
40 // The std namespace is used throughout the whole project
41 using namespace std;
42 
43 // The current CASToR version
44 #define CASTOR_VERSION "1.1"
45 
55 #define FLTNB float
56 
57 #define FLTNBMPI MPI_FLOAT
58 
59 #define FLTNBDATA float
60 
61 #define FLTNBLUT float
62 
63 //#define INTNB int64_t
64 #define INTNB int
65 
69 #define EXIT_DEBUG 10
70 
72 #define TWO_SQRT_TWO_LN_2 2.354820045
73 
75 #define SPEED_OF_LIGHT 0.299792458
76 
77 #ifdef _WIN32
78 #define M_PI 3.141592654
79 #endif
80 
81 #endif