MOM6
MOM_memory.h File Reference

Detailed Description

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 dependency graph for MOM_memory.h:
This graph shows which files directly or indirectly include this file:

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
 

Macro Definition Documentation

◆ MAX_FIELDS_

#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.

◆ NIGLOBAL_

#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.

◆ NIHALO_

#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.

◆ NIPROC_

#define NIPROC_   NONSENSE_NIPROC

The number of processors in the i-direction.

Definition at line 19 of file MOM_memory.h.

◆ NJGLOBAL_

#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.

◆ NJHALO_

#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.

◆ NJPROC_

#define NJPROC_   NONSENSE_NJPROC

The number of processors in the j-direction.

Definition at line 22 of file MOM_memory.h.

◆ NK_

#define NK_   NONSENSE_NK

The number of layers in the vertical direction.

Definition at line 10 of file MOM_memory.h.

◆ SYMMETRIC_MEMORY_

#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.