Go to the documentation of this file.
10 #define EOMRADNONE 0 // no source term
11 #define EOMRADEDD 1 // true Edd
12 #define EOMRADEDDWITHFLUX 2 // fake Edd with extra flux (KORALTODO, using Fragile 2012 paper inversion -- simple to do)
13 #define EOMRADM1CLOSURE 3 // M1 Closure
17 #define BOOSTGRIDPOS (NDIM) // CENT,FACE1,FACE2,FACE3 == assumes they are 0,1,2,3
19 #define ORTHO2LAB (0) // elo
20 #define LAB2ORTHO (1) // eup
34 #define NUMPRIORITERMETHODINDEX 8
35 #define PRIORITERMETHODNOTSET -1
36 #define BASEITERMETHODINDEX 0
37 #define ITERMODEINDEX 1
38 #define IMPTRYCONVINDEX 2
39 #define IMPMAXITERINDEX 3
40 #define NUMDAMPINDEX 4
41 #define MODPRIMINDEX 5
42 #define CHECKRADINVINDEX 6
43 #define EOMTYPEINDEX 7
50 #define dot3(A,B) (A[0]*B[0]+A[1]*B[1]+A[2]*B[2])
51 #define kron(i,j) (i == j ? 1. : 0.)
69 #define RADSHOCKFLAT 1 // 0 or 1. Whether to include radiation in shock flatener
73 #define DORADFIXUPS 0 // for RADDONUT ok, since no sharp edges.
78 #define TAUTOTMAXSWITCH (0.5)
82 #define GGG0 (6.674e-8)
83 #define CCCTRUE0 (2.99792458e10) // cgs in cm/s
84 #define MSUN (1.989E33) //cgs in grams
85 #define ARAD0 (7.56593E-15) // cgs in erg/(K^4 cm^3)
86 #define ARAD (ARAD0) // only in koral would the code version depend upon G,c
87 #define K_BOLTZ (1.3806488e-16) // cgs in erg/K
88 #define M_PROTON (1.67262158e-24) // proton mass in cgs in grams
89 #define MB (1.66054E-24) // = 1/N_A = 1/(Avogadro's number) = baryon mass in cgs in grams (as often used in general EOSs)
90 #define MPOME (1836.15)
91 #define MELE (M_PROTON/MPOME) // electron mass in cgs in grams
93 #define HPLANCK (6.62607E-27) // cgs
94 #define QCHARGE (4.8029E-10) // cgs
104 #define cTILDA (1.0) // like koral