\hypertarget{structmom__restart_1_1mom__restart__cs}{}\doxysection{mom\+\_\+restart\+::mom\+\_\+restart\+\_\+cs Type Reference}
\label{structmom__restart_1_1mom__restart__cs}\index{mom\_restart::mom\_restart\_cs@{mom\_restart::mom\_restart\_cs}}


\doxysubsection{Detailed Description}
A restart registry and the control structure for restarts. 

Definition at line 75 of file M\+O\+M\+\_\+restart.\+F90.



Collaboration diagram for mom\+\_\+restart\+::mom\+\_\+restart\+\_\+cs\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{structmom__restart_1_1mom__restart__cs__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public variables and constants}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a30f0e28d79e6596eee50d5c2f5ee04ad}\label{structmom__restart_1_1mom__restart__cs_a30f0e28d79e6596eee50d5c2f5ee04ad}} 
logical \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a30f0e28d79e6596eee50d5c2f5ee04ad}{restart}}
\begin{DoxyCompactList}\small\item\em restart is set to .true. if the run has been started from a full restart file. Otherwise some fields must be initialized approximately. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a5ecaeb4d7af67f0235d77f78e4aea7ab}\label{structmom__restart_1_1mom__restart__cs_a5ecaeb4d7af67f0235d77f78e4aea7ab}} 
integer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a5ecaeb4d7af67f0235d77f78e4aea7ab}{novars}} = 0
\begin{DoxyCompactList}\small\item\em The number of restart fields that have been registered. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a95bc3e88e32108dd5250c4119048d3fd}\label{structmom__restart_1_1mom__restart__cs_a95bc3e88e32108dd5250c4119048d3fd}} 
integer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a95bc3e88e32108dd5250c4119048d3fd}{num\+\_\+obsolete\+\_\+vars}} = 0
\begin{DoxyCompactList}\small\item\em The number of obsolete restart fields that have been registered. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_ab8fb56a7a953da71a3a5aa22da5e76e1}\label{structmom__restart_1_1mom__restart__cs_ab8fb56a7a953da71a3a5aa22da5e76e1}} 
logical \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_ab8fb56a7a953da71a3a5aa22da5e76e1}{parallel\+\_\+restartfiles}}
\begin{DoxyCompactList}\small\item\em If true, each PE writes its own restart file, otherwise they are combined internally. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a126eb078da349edfb35941f186e197fa}\label{structmom__restart_1_1mom__restart__cs_a126eb078da349edfb35941f186e197fa}} 
logical \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a126eb078da349edfb35941f186e197fa}{large\+\_\+file\+\_\+support}}
\begin{DoxyCompactList}\small\item\em If true, Net\+C\+DF 3.\+6 or later is being used and large-\/file-\/support is enabled. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a469d62f5e4a17ccb38c4c607c5fd0f9a}\label{structmom__restart_1_1mom__restart__cs_a469d62f5e4a17ccb38c4c607c5fd0f9a}} 
logical \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a469d62f5e4a17ccb38c4c607c5fd0f9a}{new\+\_\+run}}
\begin{DoxyCompactList}\small\item\em If true, the input filenames and restart file existence will result in a new run that is not initialized from restart files. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_ac8b93a9d5f792c697eac05ebf4003397}\label{structmom__restart_1_1mom__restart__cs_ac8b93a9d5f792c697eac05ebf4003397}} 
logical \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_ac8b93a9d5f792c697eac05ebf4003397}{new\+\_\+run\+\_\+set}} = .false.
\begin{DoxyCompactList}\small\item\em If true, new\+\_\+run has been determined for this restart\+\_\+\+CS. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a09f455af1af7f17df796da5142f7b46d}\label{structmom__restart_1_1mom__restart__cs_a09f455af1af7f17df796da5142f7b46d}} 
logical \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a09f455af1af7f17df796da5142f7b46d}{checksum\+\_\+required}}
\begin{DoxyCompactList}\small\item\em If true, require the restart checksums to match and error out otherwise. Users may want to avoid this comparison if for example the restarts are made from a run with a different mask\+\_\+table than the current run, in which case the checksums will not match and cause crash. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_adb6b0c7d8393721e6ea9bdf32537cf64}\label{structmom__restart_1_1mom__restart__cs_adb6b0c7d8393721e6ea9bdf32537cf64}} 
character(len=240) \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_adb6b0c7d8393721e6ea9bdf32537cf64}{restartfile}}
\begin{DoxyCompactList}\small\item\em The name or name root for M\+OM restart files. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_ada612fb668eb4bfc18e4a0b757307969}\label{structmom__restart_1_1mom__restart__cs_ada612fb668eb4bfc18e4a0b757307969}} 
integer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_ada612fb668eb4bfc18e4a0b757307969}{turns}}
\begin{DoxyCompactList}\small\item\em Number of quarter turns from input to model domain. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a087150e928b37ef92c84e989e1d952fc}\label{structmom__restart_1_1mom__restart__cs_a087150e928b37ef92c84e989e1d952fc}} 
type(\mbox{\hyperlink{structmom__restart_1_1field__restart}{field\+\_\+restart}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a087150e928b37ef92c84e989e1d952fc}{restart\+\_\+field}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em An array of descriptions of the registered fields. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_aeeb9cd5a7228a666ac06599995407ddc}\label{structmom__restart_1_1mom__restart__cs_aeeb9cd5a7228a666ac06599995407ddc}} 
type(\mbox{\hyperlink{structmom__restart_1_1obsolete__restart}{obsolete\+\_\+restart}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_aeeb9cd5a7228a666ac06599995407ddc}{restart\+\_\+obsolete}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em An array of obsolete restart fields. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a3a28c454600fa2aea883a68ba26aa007}\label{structmom__restart_1_1mom__restart__cs_a3a28c454600fa2aea883a68ba26aa007}} 
integer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a3a28c454600fa2aea883a68ba26aa007}{max\+\_\+fields}}
\begin{DoxyCompactList}\small\item\em The maximum number of restart fields. \end{DoxyCompactList}\end{DoxyCompactItemize}
\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_acf966501652b6f63b30e31be75f1b0b4}\label{structmom__restart_1_1mom__restart__cs_acf966501652b6f63b30e31be75f1b0b4}} 
type(\mbox{\hyperlink{structmom__restart_1_1p0d}{p0d}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_acf966501652b6f63b30e31be75f1b0b4}{var\+\_\+ptr0d}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Pointers to the fields that have been registered for restarts. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_ad703a463f44ddee66a66f4cd885dfbe4}\label{structmom__restart_1_1mom__restart__cs_ad703a463f44ddee66a66f4cd885dfbe4}} 
type(\mbox{\hyperlink{structmom__restart_1_1p1d}{p1d}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_ad703a463f44ddee66a66f4cd885dfbe4}{var\+\_\+ptr1d}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Pointers to the fields that have been registered for restarts. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a357897dca95f89c7152cd6e36c5c4d41}\label{structmom__restart_1_1mom__restart__cs_a357897dca95f89c7152cd6e36c5c4d41}} 
type(\mbox{\hyperlink{structmom__restart_1_1p2d}{p2d}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a357897dca95f89c7152cd6e36c5c4d41}{var\+\_\+ptr2d}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Pointers to the fields that have been registered for restarts. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a8371cb3439064c9e0ff96be21a0052b6}\label{structmom__restart_1_1mom__restart__cs_a8371cb3439064c9e0ff96be21a0052b6}} 
type(\mbox{\hyperlink{structmom__restart_1_1p3d}{p3d}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a8371cb3439064c9e0ff96be21a0052b6}{var\+\_\+ptr3d}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Pointers to the fields that have been registered for restarts. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__restart_1_1mom__restart__cs_a14d9034440323f5c4313e56cf0d13a0f}\label{structmom__restart_1_1mom__restart__cs_a14d9034440323f5c4313e56cf0d13a0f}} 
type(\mbox{\hyperlink{structmom__restart_1_1p4d}{p4d}}), dimension(\+:), pointer \mbox{\hyperlink{structmom__restart_1_1mom__restart__cs_a14d9034440323f5c4313e56cf0d13a0f}{var\+\_\+ptr4d}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Pointers to the fields that have been registered for restarts. \end{DoxyCompactList}\end{DoxyCompactItemize}



\doxysubsection{Detailed Description}
A restart registry and the control structure for restarts. 

Definition at line 75 of file M\+O\+M\+\_\+restart.\+F90.



The documentation for this type was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/cermak/src/\+M\+O\+M6.\+devrob/src/framework/M\+O\+M\+\_\+restart.\+F90\end{DoxyCompactItemize}
