\hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs}{}\doxysection{mom\+\_\+lateral\+\_\+mixing\+\_\+coeffs\+::varmix\+\_\+cs Type Reference}
\label{structmom__lateral__mixing__coeffs_1_1varmix__cs}\index{mom\_lateral\_mixing\_coeffs::varmix\_cs@{mom\_lateral\_mixing\_coeffs::varmix\_cs}}


\doxysubsection{Detailed Description}
Variable mixing coefficients. 

Definition at line 27 of file M\+O\+M\+\_\+lateral\+\_\+mixing\+\_\+coeffs.\+F90.



Collaboration diagram for mom\+\_\+lateral\+\_\+mixing\+\_\+coeffs\+::varmix\+\_\+cs\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{structmom__lateral__mixing__coeffs_1_1varmix__cs__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public variables and constants}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a284617559ea9f1ca18d469a54b89211f}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a284617559ea9f1ca18d469a54b89211f}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a284617559ea9f1ca18d469a54b89211f}{use\+\_\+variable\+\_\+mixing}}
\begin{DoxyCompactList}\small\item\em If true, use the variable mixing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a2a49077f27fff2d6403787874d5bfbb3}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a2a49077f27fff2d6403787874d5bfbb3}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a2a49077f27fff2d6403787874d5bfbb3}{resoln\+\_\+scaled\+\_\+kh}}
\begin{DoxyCompactList}\small\item\em If true, scale away the Laplacian viscosity when the deformation radius is well resolved. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7fc9bc1623ca406f84b0cb2db9a4278b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7fc9bc1623ca406f84b0cb2db9a4278b}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7fc9bc1623ca406f84b0cb2db9a4278b}{resoln\+\_\+scaled\+\_\+khth}}
\begin{DoxyCompactList}\small\item\em If true, scale away the thickness diffusivity when the deformation radius is well resolved. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_abcce24a527d31232882584013a74bdc9}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_abcce24a527d31232882584013a74bdc9}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_abcce24a527d31232882584013a74bdc9}{depth\+\_\+scaled\+\_\+khth}}
\begin{DoxyCompactList}\small\item\em If true, K\+H\+TH is scaled away when the depth is shallower than a reference depth. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a667daefcaf30d5b4bc1be70013959891}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a667daefcaf30d5b4bc1be70013959891}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a667daefcaf30d5b4bc1be70013959891}{resoln\+\_\+scaled\+\_\+khtr}}
\begin{DoxyCompactList}\small\item\em If true, scale away the tracer diffusivity when the deformation radius is well resolved. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3b227e059289844dee29e6612d1b27da}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3b227e059289844dee29e6612d1b27da}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3b227e059289844dee29e6612d1b27da}{interpolate\+\_\+res\+\_\+fn}}
\begin{DoxyCompactList}\small\item\em If true, interpolate the resolution function to the velocity points from the thickness points; otherwise interpolate the wave speed and calculate the resolution function independently at each point. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_abc71e92bc5b685437dcd8aed1e53ec4f}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_abc71e92bc5b685437dcd8aed1e53ec4f}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_abc71e92bc5b685437dcd8aed1e53ec4f}{use\+\_\+stored\+\_\+slopes}}
\begin{DoxyCompactList}\small\item\em If true, stores isopycnal slopes in this structure. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4eee69b5e116779ee7c2ac0c4bf8ec50}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4eee69b5e116779ee7c2ac0c4bf8ec50}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4eee69b5e116779ee7c2ac0c4bf8ec50}{resoln\+\_\+use\+\_\+ebt}}
\begin{DoxyCompactList}\small\item\em If true, uses the equivalent barotropic wave speed instead of first baroclinic wave for calculating the resolution fn. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a17cb588f2298aaac0638a2a48b204714}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a17cb588f2298aaac0638a2a48b204714}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a17cb588f2298aaac0638a2a48b204714}{khth\+\_\+use\+\_\+ebt\+\_\+struct}}
\begin{DoxyCompactList}\small\item\em If true, uses the equivalent barotropic structure as the vertical structure of thickness diffusivity. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3c438835a4ca3691ec901111d01b57e8}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3c438835a4ca3691ec901111d01b57e8}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3c438835a4ca3691ec901111d01b57e8}{calculate\+\_\+cg1}}
\begin{DoxyCompactList}\small\item\em If true, calls wave\+\_\+speed() to calculate the first baroclinic wave speed and populate CScg1. This parameter is set depending on other parameters. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a555e87944510177a09fb7e5400eb30fc}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a555e87944510177a09fb7e5400eb30fc}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a555e87944510177a09fb7e5400eb30fc}{calculate\+\_\+rd\+\_\+dx}}
\begin{DoxyCompactList}\small\item\em If true, calculates Rd/dx and populate CSRd\+\_\+dx\+\_\+h. This parameter is set depending on other parameters. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a9660a0796d0c25909e953b194f0121ba}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a9660a0796d0c25909e953b194f0121ba}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a9660a0796d0c25909e953b194f0121ba}{calculate\+\_\+res\+\_\+fns}}
\begin{DoxyCompactList}\small\item\em If true, calculate all the resolution factors. This parameter is set depending on other parameters. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a502f7bf30d644f530e49c2361c7b837b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a502f7bf30d644f530e49c2361c7b837b}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a502f7bf30d644f530e49c2361c7b837b}{calculate\+\_\+depth\+\_\+fns}}
\begin{DoxyCompactList}\small\item\em If true, calculate all the depth factors. This parameter is set depending on other parameters. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ab345850f820c34933886a8d0af71629d}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ab345850f820c34933886a8d0af71629d}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ab345850f820c34933886a8d0af71629d}{calculate\+\_\+eady\+\_\+growth\+\_\+rate}}
\begin{DoxyCompactList}\small\item\em If true, calculate all the Eady growth rate. This parameter is set depending on other parameters. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3b9164561d6063e0ae0939216e0bcd95}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3b9164561d6063e0ae0939216e0bcd95}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3b9164561d6063e0ae0939216e0bcd95}{sn\+\_\+u}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em S$\ast$N at u-\/points \mbox{[}T-\/1 $\sim$$>$ s-\/1\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5c43a1d00b4a448e1f3d6591204d4bb2}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5c43a1d00b4a448e1f3d6591204d4bb2}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5c43a1d00b4a448e1f3d6591204d4bb2}{sn\+\_\+v}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em S$\ast$N at v-\/points \mbox{[}T-\/1 $\sim$$>$ s-\/1\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa87ac0967c5a889d2f7988d7448270cc}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa87ac0967c5a889d2f7988d7448270cc}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa87ac0967c5a889d2f7988d7448270cc}{l2u}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Length scale$^\wedge$2 at u-\/points \mbox{[}L2 $\sim$$>$ m2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a59dbb98ab5b126789e4d8e033eb0fd54}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a59dbb98ab5b126789e4d8e033eb0fd54}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a59dbb98ab5b126789e4d8e033eb0fd54}{l2v}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Length scale$^\wedge$2 at v-\/points \mbox{[}L2 $\sim$$>$ m2\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a42c8b2a241dcf8a87b0f244ce9c9d3ff}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a42c8b2a241dcf8a87b0f244ce9c9d3ff}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a42c8b2a241dcf8a87b0f244ce9c9d3ff}{cg1}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The first baroclinic gravity wave speed \mbox{[}L T-\/1 $\sim$$>$ m s-\/1\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a93460805d27d13640e1ab8ddcc361162}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a93460805d27d13640e1ab8ddcc361162}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a93460805d27d13640e1ab8ddcc361162}{res\+\_\+fn\+\_\+h}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Non-\/dimensional function of the ratio the first baroclinic. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7f61c3afb0c6df181b577d25e3ec3aa3}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7f61c3afb0c6df181b577d25e3ec3aa3}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7f61c3afb0c6df181b577d25e3ec3aa3}{res\+\_\+fn\+\_\+q}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Non-\/dimensional function of the ratio the first baroclinic. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ace77198e16dc8926b18278945a666d68}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ace77198e16dc8926b18278945a666d68}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ace77198e16dc8926b18278945a666d68}{res\+\_\+fn\+\_\+u}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Non-\/dimensional function of the ratio the first baroclinic. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ad21be8a7edfe4da3c8dd37e0ffc0a8d3}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ad21be8a7edfe4da3c8dd37e0ffc0a8d3}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ad21be8a7edfe4da3c8dd37e0ffc0a8d3}{res\+\_\+fn\+\_\+v}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Non-\/dimensional function of the ratio the first baroclinic. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a924de57347422136946998d0ebd5dd2b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a924de57347422136946998d0ebd5dd2b}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a924de57347422136946998d0ebd5dd2b}{depth\+\_\+fn\+\_\+u}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Non-\/dimensional function of the ratio of the depth to. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5b1932b63f9b1a737f927cadeeae2c2c}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5b1932b63f9b1a737f927cadeeae2c2c}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5b1932b63f9b1a737f927cadeeae2c2c}{depth\+\_\+fn\+\_\+v}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Non-\/dimensional function of the ratio of the depth to. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a2789c1bd3a008cb1c71667f27fb4802b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a2789c1bd3a008cb1c71667f27fb4802b}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a2789c1bd3a008cb1c71667f27fb4802b}{beta\+\_\+dx2\+\_\+h}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The magnitude of the gradient of the Coriolis parameter. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6b8f30a61e2c46109eb3e36835fc4a43}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6b8f30a61e2c46109eb3e36835fc4a43}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6b8f30a61e2c46109eb3e36835fc4a43}{beta\+\_\+dx2\+\_\+q}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The magnitude of the gradient of the Coriolis parameter. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5c048d86cb2b1f1f9803afa36235ffa5}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5c048d86cb2b1f1f9803afa36235ffa5}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5c048d86cb2b1f1f9803afa36235ffa5}{beta\+\_\+dx2\+\_\+u}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The magnitude of the gradient of the Coriolis parameter. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a0bb1d03a9be010e9403cf71d182d4a70}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a0bb1d03a9be010e9403cf71d182d4a70}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a0bb1d03a9be010e9403cf71d182d4a70}{beta\+\_\+dx2\+\_\+v}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The magnitude of the gradient of the Coriolis parameter. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5848c8b357cc79c9dd00c91d40b41066}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5848c8b357cc79c9dd00c91d40b41066}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5848c8b357cc79c9dd00c91d40b41066}{f2\+\_\+dx2\+\_\+h}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The Coriolis parameter squared times the grid. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_abc843d5b241d46e82095d3ee990b3bd6}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_abc843d5b241d46e82095d3ee990b3bd6}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_abc843d5b241d46e82095d3ee990b3bd6}{f2\+\_\+dx2\+\_\+q}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The Coriolis parameter squared times the grid. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6f911807e9649ad19a472243fcf075da}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6f911807e9649ad19a472243fcf075da}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6f911807e9649ad19a472243fcf075da}{f2\+\_\+dx2\+\_\+u}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The Coriolis parameter squared times the grid. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3818971f5112e8e907def123cb966c48}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3818971f5112e8e907def123cb966c48}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3818971f5112e8e907def123cb966c48}{f2\+\_\+dx2\+\_\+v}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em The Coriolis parameter squared times the grid. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae79e386de01adcefb17aa23ee512ae36}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae79e386de01adcefb17aa23ee512ae36}} 
real, dimension(\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae79e386de01adcefb17aa23ee512ae36}{rd\+\_\+dx\+\_\+h}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Deformation radius over grid spacing \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7303c46ce083dfedc47f14ea41766bde}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7303c46ce083dfedc47f14ea41766bde}} 
real, dimension(\+:,\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7303c46ce083dfedc47f14ea41766bde}{slope\+\_\+x}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Zonal isopycnal slope \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a23074ce641deb8c699f2c317294c6735}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a23074ce641deb8c699f2c317294c6735}} 
real, dimension(\+:,\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a23074ce641deb8c699f2c317294c6735}{slope\+\_\+y}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Meridional isopycnal slope \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_aba148ce80db0e8619e03589704de66bb}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_aba148ce80db0e8619e03589704de66bb}} 
real, dimension(\+:,\+:,\+:), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_aba148ce80db0e8619e03589704de66bb}{ebt\+\_\+struct}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Vertical structure function to scale diffusivities with \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae57aa1cdc6f19b6ee9cd03288000d45e}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae57aa1cdc6f19b6ee9cd03288000d45e}} 
real, dimension(\+:, \+:), allocatable \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae57aa1cdc6f19b6ee9cd03288000d45e}{laplac3\+\_\+const\+\_\+u}}
\begin{DoxyCompactList}\small\item\em Laplacian metric-\/dependent constants \mbox{[}L3 $\sim$$>$ m3\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a8d787189ab7062e06bde0d31453ee249}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a8d787189ab7062e06bde0d31453ee249}} 
real, dimension(\+:, \+:), allocatable \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a8d787189ab7062e06bde0d31453ee249}{laplac3\+\_\+const\+\_\+v}}
\begin{DoxyCompactList}\small\item\em Laplacian metric-\/dependent constants \mbox{[}L3 $\sim$$>$ m3\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa31a731a43323315a37ec2ea5fd1fd30}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa31a731a43323315a37ec2ea5fd1fd30}} 
real, dimension(\+:, \+:, \+:), allocatable \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa31a731a43323315a37ec2ea5fd1fd30}{kh\+\_\+u\+\_\+qg}}
\begin{DoxyCompactList}\small\item\em QG Leith GM coefficient at u-\/points \mbox{[}L2 T-\/1 $\sim$$>$ m2 s-\/1\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a739bb194b4c0cb0abcdb6fa8958ab6ac}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a739bb194b4c0cb0abcdb6fa8958ab6ac}} 
real, dimension(\+:, \+:, \+:), allocatable \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a739bb194b4c0cb0abcdb6fa8958ab6ac}{kh\+\_\+v\+\_\+qg}}
\begin{DoxyCompactList}\small\item\em QG Leith GM coefficient at v-\/points \mbox{[}L2 T-\/1 $\sim$$>$ m2 s-\/1\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a89545cca8a4fb96aad51cf4ac1c5379e}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a89545cca8a4fb96aad51cf4ac1c5379e}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a89545cca8a4fb96aad51cf4ac1c5379e}{use\+\_\+visbeck}}
\begin{DoxyCompactList}\small\item\em Use Visbeck formulation for thickness diffusivity. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_acc23da8f8c4820374dfba32ef8df2581}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_acc23da8f8c4820374dfba32ef8df2581}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_acc23da8f8c4820374dfba32ef8df2581}{varmix\+\_\+ktop}}
\begin{DoxyCompactList}\small\item\em Top layer to start downward integrals. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a38e5fba32ec0a65c560ef7308407e2ff}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a38e5fba32ec0a65c560ef7308407e2ff}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a38e5fba32ec0a65c560ef7308407e2ff}{visbeck\+\_\+l\+\_\+scale}}
\begin{DoxyCompactList}\small\item\em Fixed length scale in Visbeck formula. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ace7e615e5bebaff91c202bd4036fb26a}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ace7e615e5bebaff91c202bd4036fb26a}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ace7e615e5bebaff91c202bd4036fb26a}{res\+\_\+coef\+\_\+khth}}
\begin{DoxyCompactList}\small\item\em A non-\/dimensional number that determines the function of resolution, used for thickness and tracer mixing, as\+: F = 1 / (1 + (Res\+\_\+coef\+\_\+khth$\ast$\+Ld/dx)$^\wedge$\+Res\+\_\+fn\+\_\+power) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5b6af94b3203d515e0582ae3153ad7e6}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5b6af94b3203d515e0582ae3153ad7e6}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5b6af94b3203d515e0582ae3153ad7e6}{res\+\_\+coef\+\_\+visc}}
\begin{DoxyCompactList}\small\item\em A non-\/dimensional number that determines the function of resolution, used for lateral viscosity, as\+: F = 1 / (1 + (Res\+\_\+coef\+\_\+visc$\ast$\+Ld/dx)$^\wedge$\+Res\+\_\+fn\+\_\+power) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ac696428aba13df36f76f82e114848928}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ac696428aba13df36f76f82e114848928}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ac696428aba13df36f76f82e114848928}{depth\+\_\+scaled\+\_\+khth\+\_\+h0}}
\begin{DoxyCompactList}\small\item\em The depth above which K\+H\+TH is linearly scaled away \mbox{[}Z $\sim$$>$ m\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_aff61b67e2718c101a94946f424b1902b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_aff61b67e2718c101a94946f424b1902b}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_aff61b67e2718c101a94946f424b1902b}{depth\+\_\+scaled\+\_\+khth\+\_\+exp}}
\begin{DoxyCompactList}\small\item\em The exponent used in the depth dependent scaling function for K\+H\+TH \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a1de60769228e9ba3f23c992e07ce63bb}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a1de60769228e9ba3f23c992e07ce63bb}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a1de60769228e9ba3f23c992e07ce63bb}{kappa\+\_\+smooth}}
\begin{DoxyCompactList}\small\item\em A diffusivity for smoothing T/S in vanished layers \mbox{[}Z2 T-\/1 $\sim$$>$ m2 s-\/1\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae62c838f36789bc5d9c1654e81ecae1e}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae62c838f36789bc5d9c1654e81ecae1e}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae62c838f36789bc5d9c1654e81ecae1e}{res\+\_\+fn\+\_\+power\+\_\+khth}}
\begin{DoxyCompactList}\small\item\em The power of dx/\+Ld in the Kh\+Th resolution function. Any positive integer power may be used, but even powers and especially 2 are coded to be more efficient. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a110fb3ab583a1c4abfaee649455908be}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a110fb3ab583a1c4abfaee649455908be}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a110fb3ab583a1c4abfaee649455908be}{res\+\_\+fn\+\_\+power\+\_\+visc}}
\begin{DoxyCompactList}\small\item\em The power of dx/\+Ld in the Kh resolution function. Any positive integer power may be used, but even powers and especially 2 are coded to be more efficient. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a311a90b88029d63f65dfa2ba67aae27a}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a311a90b88029d63f65dfa2ba67aae27a}} 
real \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a311a90b88029d63f65dfa2ba67aae27a}{visbeck\+\_\+s\+\_\+max}}
\begin{DoxyCompactList}\small\item\em Upper bound on slope used in Eady growth rate \mbox{[}nondim\mbox{]}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a1a285cdee2c68e05d452f151fe531f46}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a1a285cdee2c68e05d452f151fe531f46}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a1a285cdee2c68e05d452f151fe531f46}{use\+\_\+qg\+\_\+leith\+\_\+gm}}
\begin{DoxyCompactList}\small\item\em If true, uses the QG Leith viscosity as the GM coefficient. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ab694fdcab7e9442fb34d7cbb1e1383ba}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ab694fdcab7e9442fb34d7cbb1e1383ba}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ab694fdcab7e9442fb34d7cbb1e1383ba}{use\+\_\+beta\+\_\+in\+\_\+qg\+\_\+leith}}
\begin{DoxyCompactList}\small\item\em If true, includes the beta term in the QG Leith GM coefficient. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae16a469020d91605d7e3b2f4c1a4044b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae16a469020d91605d7e3b2f4c1a4044b}} 
type(\mbox{\hyperlink{structmom__wave__speed_1_1wave__speed__cs}{wave\+\_\+speed\+\_\+cs}}), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae16a469020d91605d7e3b2f4c1a4044b}{wave\+\_\+speed\+\_\+csp}} =$>$ N\+U\+LL()
\begin{DoxyCompactList}\small\item\em Wave speed control structure. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4e9588c1af03d37215f5286769b3a7b7}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4e9588c1af03d37215f5286769b3a7b7}} 
type(group\+\_\+pass\+\_\+type) \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4e9588c1af03d37215f5286769b3a7b7}{pass\+\_\+cg1}}
\begin{DoxyCompactList}\small\item\em For group halo pass. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae36b57faccbee017f27b7cb9fcb91eb7}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae36b57faccbee017f27b7cb9fcb91eb7}} 
logical \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae36b57faccbee017f27b7cb9fcb91eb7}{debug}}
\begin{DoxyCompactList}\small\item\em If true, write out checksums of data for debugging. \end{DoxyCompactList}\end{DoxyCompactItemize}
\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3e98df039bbb89c504bca73aa225cd58}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3e98df039bbb89c504bca73aa225cd58}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a3e98df039bbb89c504bca73aa225cd58}{id\+\_\+sn\+\_\+u}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_af9b19c89877289d60528a5a86673ec6e}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_af9b19c89877289d60528a5a86673ec6e}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_af9b19c89877289d60528a5a86673ec6e}{id\+\_\+sn\+\_\+v}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a45f886520728476f2a12c914b51b74dd}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a45f886520728476f2a12c914b51b74dd}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a45f886520728476f2a12c914b51b74dd}{id\+\_\+l2u}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a35a2cb4599b587e4cac4ee169fdcbac2}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a35a2cb4599b587e4cac4ee169fdcbac2}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a35a2cb4599b587e4cac4ee169fdcbac2}{id\+\_\+l2v}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7364e037bc59942d2c9c064e4826c78b}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7364e037bc59942d2c9c064e4826c78b}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7364e037bc59942d2c9c064e4826c78b}{id\+\_\+res\+\_\+fn}} = -\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4fe0d518840872274ebd465d9f763be9}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4fe0d518840872274ebd465d9f763be9}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a4fe0d518840872274ebd465d9f763be9}{id\+\_\+n2\+\_\+u}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7a27352670f3598fc3b796f59bac540e}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7a27352670f3598fc3b796f59bac540e}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7a27352670f3598fc3b796f59bac540e}{id\+\_\+n2\+\_\+v}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa18370c76fb83f6a156897fedfa45ce9}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa18370c76fb83f6a156897fedfa45ce9}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_aa18370c76fb83f6a156897fedfa45ce9}{id\+\_\+s2\+\_\+u}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6af3405df2cae676ebfe048c90fd44a0}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6af3405df2cae676ebfe048c90fd44a0}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a6af3405df2cae676ebfe048c90fd44a0}{id\+\_\+s2\+\_\+v}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae75085d38e025ccf12e0cb3b3ed4b172}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae75085d38e025ccf12e0cb3b3ed4b172}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_ae75085d38e025ccf12e0cb3b3ed4b172}{id\+\_\+rd\+\_\+dx}} =-\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5980957fb16c046b1d3a00b5c9a914f4}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5980957fb16c046b1d3a00b5c9a914f4}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a5980957fb16c046b1d3a00b5c9a914f4}{id\+\_\+kh\+\_\+u\+\_\+qg}} = -\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a387e24e508fa938f35cc50155e32cc0a}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a387e24e508fa938f35cc50155e32cc0a}} 
integer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a387e24e508fa938f35cc50155e32cc0a}{id\+\_\+kh\+\_\+v\+\_\+qg}} = -\/1
\begin{DoxyCompactList}\small\item\em Diagnostic identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7397c5eea35ca7f687c28bf28bc72db1}\label{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7397c5eea35ca7f687c28bf28bc72db1}} 
type(\mbox{\hyperlink{structmom__diag__mediator_1_1diag__ctrl}{diag\+\_\+ctrl}}), pointer \mbox{\hyperlink{structmom__lateral__mixing__coeffs_1_1varmix__cs_a7397c5eea35ca7f687c28bf28bc72db1}{diag}}
\begin{DoxyCompactList}\small\item\em A structure that is used to regulate the timing of diagnostic output. \end{DoxyCompactList}\end{DoxyCompactItemize}



\doxysubsection{Detailed Description}
Variable mixing coefficients. 

Definition at line 27 of file M\+O\+M\+\_\+lateral\+\_\+mixing\+\_\+coeffs.\+F90.



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