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 |
The number of thickness grid points in the i-direction of the global domain. | |
#define | NJGLOBAL_ NONSENSE_NJGLOBAL |
The number of thickness grid points in the j-direction of the global domain. | |
#define | NK_ NONSENSE_NK |
The number of layers in the vertical direction. | |
#define | NIPROC_ NONSENSE_NIPROC |
The number of processors in the i-direction. | |
#define | NJPROC_ NONSENSE_NJPROC |
The number of processors in the j-direction. | |
#define | MAX_FIELDS_ 50 |
The maximum permitted number (each) of restart variables, time derivatives, etc. More... | |
#define | NIHALO_ 2 |
The number of memory halo cells on each side of the computational domain in the i-direction. | |
#define | NJHALO_ 2 |
The number of memory halo cells on each side of the computational domain in the j-direction. | |
#define | SYMMETRIC_MEMORY_ |
If SYMMETRIC_MEMORY_() is defined, the velocity point data domain includes every face of the thickness points. More... | |
#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 22 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 33 of file MOM_memory.h.