REMORA
Energy Research and Forecasting: An Atmospheric Modeling Code
IndexDefines.H
Go to the documentation of this file.
1 #ifndef REMORA_INDEX_DEFINES_H_
2 #define REMORA_INDEX_DEFINES_H_
3 
4 #include <AMReX_REAL.H>
5 #include <AMReX_Arena.H>
6 
7 // Cell-centered state variables
8 #define Temp_comp 0
9 #define Salt_comp 1
10 #define Scalar_comp 2
11 #define NCONS 3
12 
13 #define NGROW 2
14 
15 namespace BCVars {
16  enum {
17  cons_bc = 0,
24  NumTypes
25  };
26 }
27 
28 // These are only for the variables read in from netcdf boundary condition files
29 // Note that the salt component must be one greater than the temp component for the
30 // logic in fill_from_bdyfiles to work
31 namespace BdyVars {
32  enum {
33  null = -1,
34  u = 0,
35  v = 1,
36  t = 2,
37  s = 3,
38  ubar ,
39  vbar ,
40  zeta ,
41  NumTypes
42  };
43 }
44 
45 enum struct REMORA_BC {
47 };
48 
49 // NOTE: the first of these must match up with the BCType enum
50 // in amrex/Src/Base/AMReX_BC_TYPES.H. We had extras at
51 // the end to use locally
52 namespace REMORABCType {
53 enum mathematicalBndryTypes : int { bogus = -666,
55  int_dir = 0,
57  foextrap = 2,
58  ext_dir = 3
59 };
60 }
61 #endif
REMORA_BC
Definition: IndexDefines.H:45
#define NCONS
Definition: IndexDefines.H:11
Definition: IndexDefines.H:15
@ zvel_bc
Definition: IndexDefines.H:23
@ NumTypes
Definition: IndexDefines.H:24
@ Temp_bc_comp
Definition: IndexDefines.H:18
@ Scalar_bc_comp
Definition: IndexDefines.H:20
@ yvel_bc
Definition: IndexDefines.H:22
@ cons_bc
Definition: IndexDefines.H:17
@ xvel_bc
Definition: IndexDefines.H:21
@ Salt_bc_comp
Definition: IndexDefines.H:19
Definition: IndexDefines.H:31
@ vbar
Definition: IndexDefines.H:39
@ u
Definition: IndexDefines.H:34
@ s
Definition: IndexDefines.H:37
@ v
Definition: IndexDefines.H:35
@ ubar
Definition: IndexDefines.H:38
@ zeta
Definition: IndexDefines.H:40
@ t
Definition: IndexDefines.H:36
@ NumTypes
Definition: IndexDefines.H:41
Definition: IndexDefines.H:52
mathematicalBndryTypes
Definition: IndexDefines.H:53
@ int_dir
Definition: IndexDefines.H:55
@ reflect_odd
Definition: IndexDefines.H:54
@ bogus
Definition: IndexDefines.H:53
@ ext_dir
Definition: IndexDefines.H:58
@ reflect_even
Definition: IndexDefines.H:56
@ foextrap
Definition: IndexDefines.H:57