Chombo + EB + MF  3.2
LGintegrator.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _LGINTEGRATOR_H_
12 #define _LGINTEGRATOR_H_
13 
14 #if (CH_SPACEDIM == 1)
15 
16 #define WRHO 0
17 #define WVELX 1
18 #define WPRES 2
19 
20 #define WNUM 3
21 #define WSLOPE 3
22 
23 #define URHO 0
24 #define UMOMX 1
25 #define UENG 2
26 
27 #define UNUM 3
28 #define UFLUX 3
29 
30 #define MWAVE 0
31 #define ZWAVE 1
32 #define PWAVE 2
33 
34 #endif
35 
36 #if (CH_SPACEDIM == 2)
37 
38 #define WRHO 0
39 #define WVELX 1
40 #define WVELY 2
41 #define WPRES 3
42 
43 #define WNUM 4
44 #define WSLOPE 4
45 
46 #define URHO 0
47 #define UMOMX 1
48 #define UMOMY 2
49 #define UENG 3
50 
51 #define UNUM 4
52 #define UFLUX 4
53 
54 #define MWAVE 0
55 #define ZWAVE 1
56 #define PWAVE 3
57 
58 #endif
59 
60 #if (CH_SPACEDIM == 3)
61 
62 #define WRHO 0
63 #define WVELX 1
64 #define WVELY 2
65 #define WVELZ 3
66 #define WPRES 4
67 
68 #define WNUM 5
69 #define WSLOPE 5
70 
71 #define URHO 0
72 #define UMOMX 1
73 #define UMOMY 2
74 #define UMOMZ 3
75 #define UENG 4
76 
77 #define UNUM 5
78 #define UFLUX 5
79 
80 #define MWAVE 0
81 #define ZWAVE 1
82 #define PWAVE 4
83 
84 #endif
85 
86 #if (CH_SPACEDIM > 3)
87 
88 #define WRHO 0
89 #define WPRES (CH_SPACEDIM + 1)
90 #define WNUM (CH_SPACEDIM + 2)
91 
92 #define URHO 0
93 #define UENG (CH_SPACEDIM + 1)
94 #define UNUM (CH_SPACEDIM + 2)
95 #define UFLUX (CH_SPACEDIM + 2)
96 
97 #endif
98 
99 #endif