MOM6
|
Compile-time memory settings.
This include file determines the compile-time memory settings. There are several variants of this file and only one should be in the search path for compilation.
Definition in file MOM_memory.h.
#include <MOM_memory_macros.h>
Go to the source code of this file.
Macros | |
#define | NIGLOBAL_ NONSENSE_NIGLOBAL |
#define | NJGLOBAL_ NONSENSE_NJGLOBAL |
#define | NK_ NONSENSE_NK |
#define | SYMMETRIC_MEMORY_ |
#define | NIPROC_ NONSENSE_NIPROC |
#define | NJPROC_ NONSENSE_NJPROC |
#define | MAX_FIELDS_ 50 |
#define | NIHALO_ 2 |
#define | NJHALO_ 2 |
#define MAX_FIELDS_ 50 |
The maximum permitted number (each) of restart variables, time derivatives, etc. This is mostly used for the size of pointer arrays, so it should be set generously.
Definition at line 25 of file MOM_memory.h.
#define NIGLOBAL_ NONSENSE_NIGLOBAL |
The number of thickness grid points in the i-direction of the global domain.
Definition at line 6 of file MOM_memory.h.
#define NIHALO_ 2 |
The number of memory halo cells on each side of the computational domain in the i-direction
Definition at line 28 of file MOM_memory.h.
#define NIPROC_ NONSENSE_NIPROC |
The number of processors in the i-direction.
Definition at line 19 of file MOM_memory.h.
#define NJGLOBAL_ NONSENSE_NJGLOBAL |
The number of thickness grid points in the j-direction of the global domain.
Definition at line 8 of file MOM_memory.h.
#define NJHALO_ 2 |
The number of memory halo cells on each side of the computational domain in the j-direction
Definition at line 31 of file MOM_memory.h.
#define NJPROC_ NONSENSE_NJPROC |
The number of processors in the j-direction.
Definition at line 22 of file MOM_memory.h.
#define NK_ NONSENSE_NK |
The number of layers in the vertical direction.
Definition at line 10 of file MOM_memory.h.
#define SYMMETRIC_MEMORY_ |
If SYMMETRIC_MEMORY_ is defined, the velocity point data domain includes every face of the thickness points. In other words, some arrays are larger than others, depending on where they are on the staggered grid.
Definition at line 16 of file MOM_memory.h.