\hypertarget{structmom__regularize__layers_1_1regularize__layers__cs}{}\section{mom\+\_\+regularize\+\_\+layers\+:\+:regularize\+\_\+layers\+\_\+cs Type Reference}
\label{structmom__regularize__layers_1_1regularize__layers__cs}\index{mom\+\_\+regularize\+\_\+layers\+::regularize\+\_\+layers\+\_\+cs@{mom\+\_\+regularize\+\_\+layers\+::regularize\+\_\+layers\+\_\+cs}}


\subsection{Detailed Description}
This control structure holds parameters used by the M\+O\+M\+\_\+regularize\+\_\+layers module. 

Definition at line 25 of file M\+O\+M\+\_\+regularize\+\_\+layers.\+F90.



Collaboration diagram for mom\+\_\+regularize\+\_\+layers\+:\+:regularize\+\_\+layers\+\_\+cs\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{structmom__regularize__layers_1_1regularize__layers__cs__coll__graph}
\end{center}
\end{figure}
\subsection*{Public variables and constants}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_ad83519bd2a2b9648f662bb1931e299ef}\label{structmom__regularize__layers_1_1regularize__layers__cs_ad83519bd2a2b9648f662bb1931e299ef}} 
logical \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_ad83519bd2a2b9648f662bb1931e299ef}{regularize\+\_\+surface\+\_\+layers}}
\begin{DoxyCompactList}\small\item\em If true, vertically restructure the near-\/surface layers when they have too much lateral variations to allow for sensible lateral barotropic transports. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_ad1a0d5bbc0ca40585b74255cf394830f}\label{structmom__regularize__layers_1_1regularize__layers__cs_ad1a0d5bbc0ca40585b74255cf394830f}} 
logical \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_ad1a0d5bbc0ca40585b74255cf394830f}{reg\+\_\+sfc\+\_\+detrain}}
\begin{DoxyCompactList}\small\item\em If true, allow the buffer layers to detrain into the interior as a part of the restructuring when regularize\+\_\+surface\+\_\+layers is true. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a75526c31bc2fe89c8a7e7296c2b7ea97}\label{structmom__regularize__layers_1_1regularize__layers__cs_a75526c31bc2fe89c8a7e7296c2b7ea97}} 
real \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a75526c31bc2fe89c8a7e7296c2b7ea97}{density\+\_\+match\+\_\+tol}}
\begin{DoxyCompactList}\small\item\em A relative tolerance for how well the densities must match with the target densities during detrainment when regularizing the near-\/surface layers \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_af4e972c32db3a7c5574028877e69d9bb}\label{structmom__regularize__layers_1_1regularize__layers__cs_af4e972c32db3a7c5574028877e69d9bb}} 
real \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_af4e972c32db3a7c5574028877e69d9bb}{h\+\_\+def\+\_\+tol1}}
\begin{DoxyCompactList}\small\item\em The value of the relative thickness deficit at which to start modifying the structure, 0.\+5 by default (or a thickness ratio of 5.\+83) \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_ab5761320c8fb1161b6b1080e5475016e}\label{structmom__regularize__layers_1_1regularize__layers__cs_ab5761320c8fb1161b6b1080e5475016e}} 
real \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_ab5761320c8fb1161b6b1080e5475016e}{h\+\_\+def\+\_\+tol2}}
\begin{DoxyCompactList}\small\item\em The value of the relative thickness deficit at which to the structure modification is in full force, now 20\% of the way from h\+\_\+def\+\_\+tol1 to 1 \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_ae1e3073963072a72fb81928547947923}\label{structmom__regularize__layers_1_1regularize__layers__cs_ae1e3073963072a72fb81928547947923}} 
real \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_ae1e3073963072a72fb81928547947923}{h\+\_\+def\+\_\+tol3}}
\begin{DoxyCompactList}\small\item\em The value of the relative thickness deficit at which to start detrainment from the buffer layers to the interior, now 30\% of the way from h\+\_\+def\+\_\+tol1 to 1 \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a529924d2068909a4c2e1fd507b1a1a70}\label{structmom__regularize__layers_1_1regularize__layers__cs_a529924d2068909a4c2e1fd507b1a1a70}} 
real \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a529924d2068909a4c2e1fd507b1a1a70}{h\+\_\+def\+\_\+tol4}}
\begin{DoxyCompactList}\small\item\em The value of the relative thickness deficit at which to do detrainment from the buffer layers to the interior at full force, now 50\% of the way from h\+\_\+def\+\_\+tol1 to 1 \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a4faf3f607257aab3e24cbc618311fa57}\label{structmom__regularize__layers_1_1regularize__layers__cs_a4faf3f607257aab3e24cbc618311fa57}} 
real \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a4faf3f607257aab3e24cbc618311fa57}{hmix\+\_\+min}}
\begin{DoxyCompactList}\small\item\em The minimum mixed layer thickness \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a95482c46a962839e3bfed3f7be53fb38}\label{structmom__regularize__layers_1_1regularize__layers__cs_a95482c46a962839e3bfed3f7be53fb38}} 
type(time\+\_\+type), pointer \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a95482c46a962839e3bfed3f7be53fb38}{time}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em A pointer to the ocean model\textquotesingle{}s clock. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a06e221446e549e4651cac30995b74aa2}\label{structmom__regularize__layers_1_1regularize__layers__cs_a06e221446e549e4651cac30995b74aa2}} 
type(diag\+\_\+ctrl), pointer \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a06e221446e549e4651cac30995b74aa2}{diag}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em A structure that is used to regulate the timing of diagnostic output. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_adc6b7c68fe98ce0567387811cc5078da}\label{structmom__regularize__layers_1_1regularize__layers__cs_adc6b7c68fe98ce0567387811cc5078da}} 
logical \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_adc6b7c68fe98ce0567387811cc5078da}{answers\+\_\+2018}}
\begin{DoxyCompactList}\small\item\em If true, use the order of arithmetic and expressions that recover the answers from the end of 2018. Otherwise, use updated and more robust forms of the same expressions. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a36102474b2f015503ada8fdc58d65e74}\label{structmom__regularize__layers_1_1regularize__layers__cs_a36102474b2f015503ada8fdc58d65e74}} 
logical \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a36102474b2f015503ada8fdc58d65e74}{debug}}
\begin{DoxyCompactList}\small\item\em If true, do more thorough checks for debugging purposes. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_abd92e2ce17915b98773182103afb207a}\label{structmom__regularize__layers_1_1regularize__layers__cs_abd92e2ce17915b98773182103afb207a}} 
integer \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_abd92e2ce17915b98773182103afb207a}{id\+\_\+def\+\_\+rat}} = -\/1
\begin{DoxyCompactList}\small\item\em A diagnostic ID. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regularize__layers_1_1regularize__layers__cs_a4f2aa201a5c5c8babeba562daf7465b5}\label{structmom__regularize__layers_1_1regularize__layers__cs_a4f2aa201a5c5c8babeba562daf7465b5}} 
logical \mbox{\hyperlink{structmom__regularize__layers_1_1regularize__layers__cs_a4f2aa201a5c5c8babeba562daf7465b5}{allow\+\_\+clocks\+\_\+in\+\_\+omp\+\_\+loops}}
\begin{DoxyCompactList}\small\item\em If true, clocks can be called from inside loops that can be threaded. To run with multiple threads, set to False. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This control structure holds parameters used by the M\+O\+M\+\_\+regularize\+\_\+layers module. 

Definition at line 25 of file M\+O\+M\+\_\+regularize\+\_\+layers.\+F90.



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