REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
REMORA_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// Number of 3D/2D variables output in netcdf files
16#define NC3D 5
17#define NC2D 5
18// Number of 2D variables in a netcdf file's header
19#define NCH2D 12
20
21/**
22 * \brief Boundary fill types
23 */
44
45/**
46 * \brief These are only for the variables read in from netcdf boundary condition files
47 *
48 * Note that the salt component must be one greater than the temp component for the
49 * logic in fill_from_bdyfiles to work
50 */
51namespace BdyVars {
52 enum {
53 null = -1,
54 u = 0,
55 v = 1,
56 t = 2,
57 s = 3,
62 };
63}
64
69
70/**
71 * NOTE: the first of these must match up with the BCType enum
72 * in amrex/Src/Base/AMReX_BC_TYPES.H. We had extras at
73 * the end to use locally
74 */
89#endif
@ orlanski_rad_nudge
#define NCONS
Boundary fill types.
These are only for the variables read in from netcdf boundary condition files.