macros.h
Go to the documentation of this file.
1 /*! \file config.h
2  *
3  * \brief Contains macro definitions.
4  * Also reserved for future `configure` script
5  *
6  */
7 #ifndef VERBOSE_LEVEL
8 # define VERBOSE_LEVEL 1
9 #endif
10 
11 #if VERBOSE_LEVEL > 3
12 # define INFO_ENTRY(fname) print*,"[<] ",fname," (): entering"
13 # define INFO_EXIT(fname) print*,"[>] ",fname," (): exiting"
14 #else
15 # define INFO_ENTRY(fname)
16 # define INFO_EXIT(fname)
17 #endif
18 
19 /* The used Git version */
20 #define XSTR(VERS) #VERS
21 #define STR(VERS) XSTR(VERS)
22 
23 /* possible values of the evolution_mode */
24 #define EM_NSE 1
25 #define EM_NETHOT 2
26 #define EM_NETCOLD 3
27 #define EM_DECAYS 4
28 #define EM_INIT 5
29 #define EM_TERMINATE 6
30 
31 /* possible values for the space of the interpolation */
32 #define LINLIN 1
33 #define LINLOG 2
34 #define LOGLIN 3
35 #define LOGLOG 4
36 
37 
38 /* possible values for the type of the interpolation */
39 #define itype_LINEAR 1
40 #define itype_CUBIC 2
41 #define itype_AKIMA 3
42 #define itype_MAKIMA 4
43 #define itype_PCHIP 5
44 
45 /* define real kind to doubles */
46 #define r_kind 8
47 
48 /* possible values of reaction sources */
49 #define rrs_reacl 1 /* Reaclib reactions */
50 #define rrs_tabl 2 /* Tabulated reactions */
51 #define rrs_nu 3 /* Neutrino reactions */
52 #define rrs_twr 4 /* Theoretical weak rate */
53 #define rrs_detb 5 /* Calculated detailed balance rate */
54 #define rrs_fiss 6 /* Fission reaction */
55 #define rrs_wext 7 /* Beta delayed neutron emission rate */
56 #define rrs_aext 8 /* Additional alpha decay rate */
57 
58 /* possible values of reaction rate typ */
59 #define rrt_betm 1 /* Beta-minus */
60 #define rrt_betp 2 /* Beta-plus */
61 #define rrt_ec 3 /* Electron capture */
62 #define rrt_alpd 4 /* Alpha-decay */
63 #define rrt_pemi 5 /* Proton-emission */
64 #define rrt_nemi 6 /* Neutron-emission */
65 #define rrt_ng 7 /* (n,gamma) */
66 #define rrt_gn 8 /* (gamma,n) */
67 #define rrt_ag 9 /* (alpha,gamma) */
68 #define rrt_ga 10 /* (gamma,alpha) */
69 #define rrt_pg 11 /* (p,gamma) */
70 #define rrt_gp 12 /* (gamma,p) */
71 #define rrt_na 13 /* (n,alpha) */
72 #define rrt_an 14 /* (alpha,n) */
73 #define rrt_np 15 /* (n,p) */
74 #define rrt_pn 16 /* (p,n) */
75 #define rrt_pa 17 /* (p,alpha) */
76 #define rrt_ap 18 /* (alpha,p) */
77 #define rrt_nu 19 /* Neutrino */
78 #define rrt_nf 20 /* neutron induced fission */
79 #define rrt_bf 21 /* beta-delayed fission */
80 #define rrt_sf 22 /* spontaneous fission */
81 #define rrt_o 23 /* other */
82 
83