\hypertarget{structmom__regridding_1_1regridding__cs}{}\section{mom\+\_\+regridding\+:\+:regridding\+\_\+cs Type Reference}
\label{structmom__regridding_1_1regridding__cs}\index{mom\+\_\+regridding\+::regridding\+\_\+cs@{mom\+\_\+regridding\+::regridding\+\_\+cs}}


\subsection{Detailed Description}
Regridding control structure. 

Definition at line 45 of file M\+O\+M\+\_\+regridding.\+F90.



Collaboration diagram for mom\+\_\+regridding\+:\+:regridding\+\_\+cs\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{structmom__regridding_1_1regridding__cs__coll__graph}
\end{center}
\end{figure}
\subsection*{Public variables and constants}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a2e2de077cabcaa7b091ed12ec715a7df}\label{structmom__regridding_1_1regridding__cs_a2e2de077cabcaa7b091ed12ec715a7df}} 
real, dimension(\+:), allocatable \hyperlink{structmom__regridding_1_1regridding__cs_a2e2de077cabcaa7b091ed12ec715a7df}{coordinateresolution}
\begin{DoxyCompactList}\small\item\em This array is set by function set\+Coordinate\+Resolution() It contains the \char`\"{}resolution\char`\"{} or delta coordinate of the target coordinate. It has the units of the target coordinate, e.\+g. \mbox{[}Z $\sim$$>$ m\mbox{]} for z$\ast$, non-\/dimensional for sigma, etc. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a1bb0fbc7aec6363dff22e37a9cdff176}\label{structmom__regridding_1_1regridding__cs_a1bb0fbc7aec6363dff22e37a9cdff176}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_a1bb0fbc7aec6363dff22e37a9cdff176}{coord\+\_\+scale} = 1.\+0
\begin{DoxyCompactList}\small\item\em This is a scaling factor that restores coordinate\+Resolution to values in the natural units for output. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a1468a64a398d5554c4e0795d9b184199}\label{structmom__regridding_1_1regridding__cs_a1468a64a398d5554c4e0795d9b184199}} 
real, dimension(\+:), allocatable \hyperlink{structmom__regridding_1_1regridding__cs_a1468a64a398d5554c4e0795d9b184199}{target\+\_\+density}
\begin{DoxyCompactList}\small\item\em This array is set by function \hyperlink{namespacemom__regridding_ae7eade38ab8e2adb0797a7191ddebb18}{set\+\_\+target\+\_\+densities()} This array is the nominal coordinate of interfaces and is the running sum of coordinate\+Resolution, in \mbox{[}R $\sim$$>$ kg m-\/3\mbox{]}. i.\+e. target\+\_\+density(k+1) = coordinate\+Resolution(k) + coordinate\+Resolution(k) It is only used in \char`\"{}rho\char`\"{}, \char`\"{}\+S\+Light\char`\"{} or \char`\"{}\+Hycom\char`\"{} mode. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_af6f876f2f44108306fec0c0b57ab8ef3}\label{structmom__regridding_1_1regridding__cs_af6f876f2f44108306fec0c0b57ab8ef3}} 
logical \hyperlink{structmom__regridding_1_1regridding__cs_af6f876f2f44108306fec0c0b57ab8ef3}{target\+\_\+density\+\_\+set} = .false.
\begin{DoxyCompactList}\small\item\em A flag to indicate that the target\+\_\+density arrays has been filled with data. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a6ad6a5fdafb5bb0e63c57a5072a07c04}\label{structmom__regridding_1_1regridding__cs_a6ad6a5fdafb5bb0e63c57a5072a07c04}} 
real, dimension(\+:), allocatable \hyperlink{structmom__regridding_1_1regridding__cs_a6ad6a5fdafb5bb0e63c57a5072a07c04}{max\+\_\+interface\+\_\+depths}
\begin{DoxyCompactList}\small\item\em This array is set by function \hyperlink{namespacemom__regridding_aac547ec199090852d539c7aefc44dfa7}{set\+\_\+regrid\+\_\+max\+\_\+depths()} It specifies the maximum depth that every interface is allowed to take \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a44bc8319065c2dd4999193dd5a0ed51d}\label{structmom__regridding_1_1regridding__cs_a44bc8319065c2dd4999193dd5a0ed51d}} 
real, dimension(\+:), allocatable \hyperlink{structmom__regridding_1_1regridding__cs_a44bc8319065c2dd4999193dd5a0ed51d}{max\+\_\+layer\+\_\+thickness}
\begin{DoxyCompactList}\small\item\em This array is set by function \hyperlink{namespacemom__regridding_ae91ca3f1376b3c72940268b5d9f87bb4}{set\+\_\+regrid\+\_\+max\+\_\+thickness()} It specifies the maximum depth that every interface is allowed to take \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a714c5a6dc8f969dbfe36cc62c1cf599c}\label{structmom__regridding_1_1regridding__cs_a714c5a6dc8f969dbfe36cc62c1cf599c}} 
integer \hyperlink{structmom__regridding_1_1regridding__cs_a714c5a6dc8f969dbfe36cc62c1cf599c}{nk}
\begin{DoxyCompactList}\small\item\em Number of layers/levels in generated grid. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a2b85b3c884daff5644374f1f27dcd428}\label{structmom__regridding_1_1regridding__cs_a2b85b3c884daff5644374f1f27dcd428}} 
integer \hyperlink{structmom__regridding_1_1regridding__cs_a2b85b3c884daff5644374f1f27dcd428}{regridding\+\_\+scheme}
\begin{DoxyCompactList}\small\item\em Indicates which grid to use in the vertical (z$\ast$, sigma, target interface densities) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_ab041ea7d4dac22a2614ae4247b185d96}\label{structmom__regridding_1_1regridding__cs_ab041ea7d4dac22a2614ae4247b185d96}} 
type(interp\+\_\+cs\+\_\+type) \hyperlink{structmom__regridding_1_1regridding__cs_ab041ea7d4dac22a2614ae4247b185d96}{interp\+\_\+cs}
\begin{DoxyCompactList}\small\item\em Interpolation control structure. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_aa9bf9b5547560df2a976d89a123c8251}\label{structmom__regridding_1_1regridding__cs_aa9bf9b5547560df2a976d89a123c8251}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_aa9bf9b5547560df2a976d89a123c8251}{min\+\_\+thickness}
\begin{DoxyCompactList}\small\item\em Minimum thickness allowed when building the new grid through regridding \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a323d8cb66853bf8279846588ed655f92}\label{structmom__regridding_1_1regridding__cs_a323d8cb66853bf8279846588ed655f92}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_a323d8cb66853bf8279846588ed655f92}{ref\+\_\+pressure} = 2.e7
\begin{DoxyCompactList}\small\item\em Reference pressure for potential density calculations \mbox{[}R L2 T-\/2 $\sim$$>$ Pa\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a8d2fb3a8095fc5d79235cba1053c6c64}\label{structmom__regridding_1_1regridding__cs_a8d2fb3a8095fc5d79235cba1053c6c64}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_a8d2fb3a8095fc5d79235cba1053c6c64}{old\+\_\+grid\+\_\+weight} = 0.
\begin{DoxyCompactList}\small\item\em Weight given to old coordinate when blending between new and old grids \mbox{[}nondim\mbox{]} Used only below depth\+\_\+of\+\_\+time\+\_\+filter\+\_\+shallow, with a cubic variation from zero to full effect between depth\+\_\+of\+\_\+time\+\_\+filter\+\_\+shallow and depth\+\_\+of\+\_\+time\+\_\+filter\+\_\+deep. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a5d2742052b3cfc5d2a97517835e3220f}\label{structmom__regridding_1_1regridding__cs_a5d2742052b3cfc5d2a97517835e3220f}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_a5d2742052b3cfc5d2a97517835e3220f}{depth\+\_\+of\+\_\+time\+\_\+filter\+\_\+shallow} = 0.
\begin{DoxyCompactList}\small\item\em Depth above which no time-\/filtering of grid is applied \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a69008a7cc203a84f8dddfbe8f7937533}\label{structmom__regridding_1_1regridding__cs_a69008a7cc203a84f8dddfbe8f7937533}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_a69008a7cc203a84f8dddfbe8f7937533}{depth\+\_\+of\+\_\+time\+\_\+filter\+\_\+deep} = 0.
\begin{DoxyCompactList}\small\item\em Depth below which time-\/filtering of grid is applied at full effect \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_aabb0629eaefc77db69f2d49ca883961e}\label{structmom__regridding_1_1regridding__cs_aabb0629eaefc77db69f2d49ca883961e}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_aabb0629eaefc77db69f2d49ca883961e}{compressibility\+\_\+fraction} = 0.
\begin{DoxyCompactList}\small\item\em Fraction (between 0 and 1) of compressibility to add to potential density profiles when interpolating for target grid positions. \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_accf27c14e3ec9b0da1e557dbd6fdc55c}\label{structmom__regridding_1_1regridding__cs_accf27c14e3ec9b0da1e557dbd6fdc55c}} 
logical \hyperlink{structmom__regridding_1_1regridding__cs_accf27c14e3ec9b0da1e557dbd6fdc55c}{set\+\_\+maximum\+\_\+depths} = .false.
\begin{DoxyCompactList}\small\item\em If true, each interface is given a maximum depth based on a rescaling of the indexing of coordinate\+Resolution. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a28ac841d7571c94e1d90f7a7c0357c97}\label{structmom__regridding_1_1regridding__cs_a28ac841d7571c94e1d90f7a7c0357c97}} 
real \hyperlink{structmom__regridding_1_1regridding__cs_a28ac841d7571c94e1d90f7a7c0357c97}{max\+\_\+depth\+\_\+index\+\_\+scale} = 2.\+0
\begin{DoxyCompactList}\small\item\em A scaling factor ($>$ 1) of the rate at which the coordinate\+Resolution list is traversed to set the minimum depth of interfaces. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a85c926baca8df82bd0005038ed446e7b}\label{structmom__regridding_1_1regridding__cs_a85c926baca8df82bd0005038ed446e7b}} 
logical \hyperlink{structmom__regridding_1_1regridding__cs_a85c926baca8df82bd0005038ed446e7b}{integrate\+\_\+downward\+\_\+for\+\_\+e} = .true.
\begin{DoxyCompactList}\small\item\em If true, integrate for interface positions from the top downward. If false, integrate from the bottom upward, as does the rest of the model. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a742ae0dfbf2dded9162571899fe89f24}\label{structmom__regridding_1_1regridding__cs_a742ae0dfbf2dded9162571899fe89f24}} 
logical \hyperlink{structmom__regridding_1_1regridding__cs_a742ae0dfbf2dded9162571899fe89f24}{remap\+\_\+answers\+\_\+2018} = .true.
\begin{DoxyCompactList}\small\item\em If true, use the order of arithmetic and expressions that recover the remapping answers from 2018. If false, use more robust forms of the same remapping expressions. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a9997fcfd4441d73baa26076d4d114576}\label{structmom__regridding_1_1regridding__cs_a9997fcfd4441d73baa26076d4d114576}} 
type(zlike\+\_\+cs), pointer \hyperlink{structmom__regridding_1_1regridding__cs_a9997fcfd4441d73baa26076d4d114576}{zlike\+\_\+cs} =$>$ null()
\begin{DoxyCompactList}\small\item\em Control structure for z-\/like coordinate generator. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a4ab1b32628315bec5c6f67f190af3fe1}\label{structmom__regridding_1_1regridding__cs_a4ab1b32628315bec5c6f67f190af3fe1}} 
type(sigma\+\_\+cs), pointer \hyperlink{structmom__regridding_1_1regridding__cs_a4ab1b32628315bec5c6f67f190af3fe1}{sigma\+\_\+cs} =$>$ null()
\begin{DoxyCompactList}\small\item\em Control structure for sigma coordinate generator. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a374eb49a2821fc48455da4cdb0f141bf}\label{structmom__regridding_1_1regridding__cs_a374eb49a2821fc48455da4cdb0f141bf}} 
type(rho\+\_\+cs), pointer \hyperlink{structmom__regridding_1_1regridding__cs_a374eb49a2821fc48455da4cdb0f141bf}{rho\+\_\+cs} =$>$ null()
\begin{DoxyCompactList}\small\item\em Control structure for rho coordinate generator. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a32a27bd2c205eee65bee28bf96c804ed}\label{structmom__regridding_1_1regridding__cs_a32a27bd2c205eee65bee28bf96c804ed}} 
type(hycom\+\_\+cs), pointer \hyperlink{structmom__regridding_1_1regridding__cs_a32a27bd2c205eee65bee28bf96c804ed}{hycom\+\_\+cs} =$>$ null()
\begin{DoxyCompactList}\small\item\em Control structure for hybrid coordinate generator. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_ab779d9db625e1d67fe22fab14769c8a6}\label{structmom__regridding_1_1regridding__cs_ab779d9db625e1d67fe22fab14769c8a6}} 
type(slight\+\_\+cs), pointer \hyperlink{structmom__regridding_1_1regridding__cs_ab779d9db625e1d67fe22fab14769c8a6}{slight\+\_\+cs} =$>$ null()
\begin{DoxyCompactList}\small\item\em Control structure for Slight-\/coordinate generator. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__regridding_1_1regridding__cs_a4bb22b2b9762d12b38f7621a06fe3ea0}\label{structmom__regridding_1_1regridding__cs_a4bb22b2b9762d12b38f7621a06fe3ea0}} 
type(adapt\+\_\+cs), pointer \hyperlink{structmom__regridding_1_1regridding__cs_a4bb22b2b9762d12b38f7621a06fe3ea0}{adapt\+\_\+cs} =$>$ null()
\begin{DoxyCompactList}\small\item\em Control structure for adaptive coordinate generator. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Regridding control structure. 

Definition at line 45 of file M\+O\+M\+\_\+regridding.\+F90.



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