\hypertarget{MOM__memory_8h}{}\section{/home/cermak/src/\+M\+O\+M6.devrob/config\+\_\+src/dynamic\+\_\+symmetric/\+M\+O\+M\+\_\+memory.h File Reference}
\label{MOM__memory_8h}\index{/home/cermak/src/MOM6.devrob/config\_src/dynamic\_symmetric/MOM\_memory.h@{/home/cermak/src/MOM6.devrob/config\_src/dynamic\_symmetric/MOM\_memory.h}}


\subsection{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. {\ttfamily \#include $<$M\+O\+M\+\_\+memory\+\_\+macros.\+h$>$}\newline
Include dependency graph for M\+O\+M\+\_\+memory.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=256pt]{MOM__memory_8h__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{MOM__memory_8h_a3a0cf251437a01a90c6cc3edbda7f599}\label{MOM__memory_8h_a3a0cf251437a01a90c6cc3edbda7f599}} 
\#define \mbox{\hyperlink{MOM__memory_8h_a3a0cf251437a01a90c6cc3edbda7f599}{N\+I\+G\+L\+O\+B\+A\+L\+\_\+}}~N\+O\+N\+S\+E\+N\+S\+E\+\_\+\+N\+I\+G\+L\+O\+B\+AL
\begin{DoxyCompactList}\small\item\em The number of thickness grid points in the i-\/direction of the global domain. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{MOM__memory_8h_a6731ea695a5c7c2b6c5dfe2f37de1150}\label{MOM__memory_8h_a6731ea695a5c7c2b6c5dfe2f37de1150}} 
\#define \mbox{\hyperlink{MOM__memory_8h_a6731ea695a5c7c2b6c5dfe2f37de1150}{N\+J\+G\+L\+O\+B\+A\+L\+\_\+}}~N\+O\+N\+S\+E\+N\+S\+E\+\_\+\+N\+J\+G\+L\+O\+B\+AL
\begin{DoxyCompactList}\small\item\em The number of thickness grid points in the j-\/direction of the global domain. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{MOM__memory_8h_ab59a35c0007a436e46646d67c1043251}\label{MOM__memory_8h_ab59a35c0007a436e46646d67c1043251}} 
\#define \mbox{\hyperlink{MOM__memory_8h_ab59a35c0007a436e46646d67c1043251}{N\+K\+\_\+}}~N\+O\+N\+S\+E\+N\+S\+E\+\_\+\+NK
\begin{DoxyCompactList}\small\item\em The number of layers in the vertical direction. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{MOM__memory_8h_a7083dd4c461a0748a3f36e91bfc053e3}\label{MOM__memory_8h_a7083dd4c461a0748a3f36e91bfc053e3}} 
\#define \mbox{\hyperlink{MOM__memory_8h_a7083dd4c461a0748a3f36e91bfc053e3}{N\+I\+P\+R\+O\+C\+\_\+}}~N\+O\+N\+S\+E\+N\+S\+E\+\_\+\+N\+I\+P\+R\+OC
\begin{DoxyCompactList}\small\item\em The number of processors in the i-\/direction. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{MOM__memory_8h_a86be89d4c315f51f0d50bec20f785fa4}\label{MOM__memory_8h_a86be89d4c315f51f0d50bec20f785fa4}} 
\#define \mbox{\hyperlink{MOM__memory_8h_a86be89d4c315f51f0d50bec20f785fa4}{N\+J\+P\+R\+O\+C\+\_\+}}~N\+O\+N\+S\+E\+N\+S\+E\+\_\+\+N\+J\+P\+R\+OC
\begin{DoxyCompactList}\small\item\em The number of processors in the j-\/direction. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{MOM__memory_8h_a1288c7fdb5c18589f02a60010c976193}{M\+A\+X\+\_\+\+F\+I\+E\+L\+D\+S\+\_\+}}~50
\begin{DoxyCompactList}\small\item\em The maximum permitted number (each) of restart variables, time derivatives, etc. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{MOM__memory_8h_a13d60ee09287493398821faf8d9bd15e}\label{MOM__memory_8h_a13d60ee09287493398821faf8d9bd15e}} 
\#define \mbox{\hyperlink{MOM__memory_8h_a13d60ee09287493398821faf8d9bd15e}{N\+I\+H\+A\+L\+O\+\_\+}}~2
\begin{DoxyCompactList}\small\item\em The number of memory halo cells on each side of the computational domain in the i-\/direction. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{MOM__memory_8h_a2be63618457fd80481bf7f96084bc975}\label{MOM__memory_8h_a2be63618457fd80481bf7f96084bc975}} 
\#define \mbox{\hyperlink{MOM__memory_8h_a2be63618457fd80481bf7f96084bc975}{N\+J\+H\+A\+L\+O\+\_\+}}~2
\begin{DoxyCompactList}\small\item\em The number of memory halo cells on each side of the computational domain in the j-\/direction. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{MOM__memory_8h_a557b7df1da761f6ffd93e0c5af98ef14}{S\+Y\+M\+M\+E\+T\+R\+I\+C\+\_\+\+M\+E\+M\+O\+R\+Y\+\_\+}}
\begin{DoxyCompactList}\small\item\em If \mbox{\hyperlink{MOM__memory_8h_a557b7df1da761f6ffd93e0c5af98ef14}{S\+Y\+M\+M\+E\+T\+R\+I\+C\+\_\+\+M\+E\+M\+O\+R\+Y\+\_\+()}} is defined, the velocity point data domain includes every face of the thickness points. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{MOM__memory_8h_a1288c7fdb5c18589f02a60010c976193}\label{MOM__memory_8h_a1288c7fdb5c18589f02a60010c976193}} 
\index{MOM\_memory.h@{MOM\_memory.h}!MAX\_FIELDS\_@{MAX\_FIELDS\_}}
\index{MAX\_FIELDS\_@{MAX\_FIELDS\_}!MOM\_memory.h@{MOM\_memory.h}}
\subsubsection{\texorpdfstring{MAX\_FIELDS\_}{MAX\_FIELDS\_}}
{\footnotesize\ttfamily \#define M\+A\+X\+\_\+\+F\+I\+E\+L\+D\+S\+\_\+~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 M\+O\+M\+\_\+memory.\+h.

\mbox{\Hypertarget{MOM__memory_8h_a557b7df1da761f6ffd93e0c5af98ef14}\label{MOM__memory_8h_a557b7df1da761f6ffd93e0c5af98ef14}} 
\index{MOM\_memory.h@{MOM\_memory.h}!SYMMETRIC\_MEMORY\_@{SYMMETRIC\_MEMORY\_}}
\index{SYMMETRIC\_MEMORY\_@{SYMMETRIC\_MEMORY\_}!MOM\_memory.h@{MOM\_memory.h}}
\subsubsection{\texorpdfstring{SYMMETRIC\_MEMORY\_}{SYMMETRIC\_MEMORY\_}}
{\footnotesize\ttfamily \#define S\+Y\+M\+M\+E\+T\+R\+I\+C\+\_\+\+M\+E\+M\+O\+R\+Y\+\_\+}



If \mbox{\hyperlink{MOM__memory_8h_a557b7df1da761f6ffd93e0c5af98ef14}{S\+Y\+M\+M\+E\+T\+R\+I\+C\+\_\+\+M\+E\+M\+O\+R\+Y\+\_\+()}} 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 M\+O\+M\+\_\+memory.\+h.

