\hypertarget{structcoord__slight_1_1slight__cs}{}\section{coord\+\_\+slight\+:\+:slight\+\_\+cs Type Reference}
\label{structcoord__slight_1_1slight__cs}\index{coord\+\_\+slight\+::slight\+\_\+cs@{coord\+\_\+slight\+::slight\+\_\+cs}}


\subsection{Detailed Description}
Control structure containing required parameters for the S\+Light coordinate. 

Definition at line 15 of file coord\+\_\+slight.\+F90.



Collaboration diagram for coord\+\_\+slight\+:\+:slight\+\_\+cs\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{structcoord__slight_1_1slight__cs__coll__graph}
\end{center}
\end{figure}
\subsection*{Public variables and constants}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a79e96fd7f60f45a0568d017ed41e88b9}\label{structcoord__slight_1_1slight__cs_a79e96fd7f60f45a0568d017ed41e88b9}} 
integer \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a79e96fd7f60f45a0568d017ed41e88b9}{nk}}
\begin{DoxyCompactList}\small\item\em Number of layers/levels. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a59d61d9b3e098aa550e0af9d4db1a78f}\label{structcoord__slight_1_1slight__cs_a59d61d9b3e098aa550e0af9d4db1a78f}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a59d61d9b3e098aa550e0af9d4db1a78f}{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{structcoord__slight_1_1slight__cs_a7b5d16e2e44f44317565b3b7c2333008}\label{structcoord__slight_1_1slight__cs_a7b5d16e2e44f44317565b3b7c2333008}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a7b5d16e2e44f44317565b3b7c2333008}{ref\+\_\+pressure}}
\begin{DoxyCompactList}\small\item\em Reference pressure for potential density calculations \mbox{[}R L2 T-\/2 $\sim$$>$ Pa\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_ab7c47259f4c343f395d523e49f3d7dd6}\label{structcoord__slight_1_1slight__cs_ab7c47259f4c343f395d523e49f3d7dd6}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_ab7c47259f4c343f395d523e49f3d7dd6}{compressibility\+\_\+fraction}}
\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{structcoord__slight_1_1slight__cs_a5e42345c3467708fb5395faa4e28dde8}\label{structcoord__slight_1_1slight__cs_a5e42345c3467708fb5395faa4e28dde8}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a5e42345c3467708fb5395faa4e28dde8}{rho\+\_\+ml\+\_\+avg\+\_\+depth}}
\begin{DoxyCompactList}\small\item\em Depth over which to average to determine the mixed layer potential density \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_afe4f7a6b8dfd524cf018ce8b44ac8bb4}\label{structcoord__slight_1_1slight__cs_afe4f7a6b8dfd524cf018ce8b44ac8bb4}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_afe4f7a6b8dfd524cf018ce8b44ac8bb4}{nlay\+\_\+ml\+\_\+offset}}
\begin{DoxyCompactList}\small\item\em Number of layers to offset the mixed layer density to find resolved stratification \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_ac1e3795b478ef4a54062d3399c2f03b6}\label{structcoord__slight_1_1slight__cs_ac1e3795b478ef4a54062d3399c2f03b6}} 
integer \mbox{\hyperlink{structcoord__slight_1_1slight__cs_ac1e3795b478ef4a54062d3399c2f03b6}{nz\+\_\+fixed\+\_\+surface}} = 2
\begin{DoxyCompactList}\small\item\em The number of fixed-\/thickness layers at the top of the model. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a2369b4f3cf4507d9bf697744bfe08f54}\label{structcoord__slight_1_1slight__cs_a2369b4f3cf4507d9bf697744bfe08f54}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a2369b4f3cf4507d9bf697744bfe08f54}{dz\+\_\+ml\+\_\+min}}
\begin{DoxyCompactList}\small\item\em The fixed resolution in the topmost S\+Light\+\_\+nkml\+\_\+min layers \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a03b70f6633210625e23537c9b0dcb09a}\label{structcoord__slight_1_1slight__cs_a03b70f6633210625e23537c9b0dcb09a}} 
logical \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a03b70f6633210625e23537c9b0dcb09a}{fix\+\_\+haloclines}} = .false.
\begin{DoxyCompactList}\small\item\em If true, detect regions with much weaker stratification in the coordinate than based on in-\/situ density, and use a stretched coordinate there. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a156afa2576c63ba561e0bf351deca00d}\label{structcoord__slight_1_1slight__cs_a156afa2576c63ba561e0bf351deca00d}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a156afa2576c63ba561e0bf351deca00d}{halocline\+\_\+filter\+\_\+length}}
\begin{DoxyCompactList}\small\item\em A length scale over which to filter T \& S when looking for spuriously unstable water mass profiles \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_afd335e33958ca09ec3ba89fcc00b1c0c}\label{structcoord__slight_1_1slight__cs_afd335e33958ca09ec3ba89fcc00b1c0c}} 
real \mbox{\hyperlink{structcoord__slight_1_1slight__cs_afd335e33958ca09ec3ba89fcc00b1c0c}{halocline\+\_\+strat\+\_\+tol}}
\begin{DoxyCompactList}\small\item\em A value of the stratification ratio that defines a problematic halocline region \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a848c333cfe84ec9123a7305b4d90d42f}\label{structcoord__slight_1_1slight__cs_a848c333cfe84ec9123a7305b4d90d42f}} 
real, dimension(\+:), allocatable \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a848c333cfe84ec9123a7305b4d90d42f}{target\+\_\+density}}
\begin{DoxyCompactList}\small\item\em Nominal density of interfaces \mbox{[}R $\sim$$>$ kg m-\/3\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_ac9f125eded625ac8c10058dc31f0e42f}\label{structcoord__slight_1_1slight__cs_ac9f125eded625ac8c10058dc31f0e42f}} 
real, dimension(\+:), allocatable \mbox{\hyperlink{structcoord__slight_1_1slight__cs_ac9f125eded625ac8c10058dc31f0e42f}{max\+\_\+interface\+\_\+depths}}
\begin{DoxyCompactList}\small\item\em Maximum depths of interfaces \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_a463472253906e2d3d7f89caba02f00f6}\label{structcoord__slight_1_1slight__cs_a463472253906e2d3d7f89caba02f00f6}} 
real, dimension(\+:), allocatable \mbox{\hyperlink{structcoord__slight_1_1slight__cs_a463472253906e2d3d7f89caba02f00f6}{max\+\_\+layer\+\_\+thickness}}
\begin{DoxyCompactList}\small\item\em Maximum thicknesses of layers \mbox{[}H $\sim$$>$ m or kg m-\/2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structcoord__slight_1_1slight__cs_ac00461dcd4c5589c45ee014808a23049}\label{structcoord__slight_1_1slight__cs_ac00461dcd4c5589c45ee014808a23049}} 
type(interp\+\_\+cs\+\_\+type) \mbox{\hyperlink{structcoord__slight_1_1slight__cs_ac00461dcd4c5589c45ee014808a23049}{interp\+\_\+cs}}
\begin{DoxyCompactList}\small\item\em Interpolation control structure. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Control structure containing required parameters for the S\+Light coordinate. 

Definition at line 15 of file coord\+\_\+slight.\+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/coord\+\_\+slight.\+F90\end{DoxyCompactItemize}
