\hypertarget{interfaceregrid__consts_1_1state__dependent}{}\section{regrid\+\_\+consts\+:\+:state\+\_\+dependent Interface Reference}
\label{interfaceregrid__consts_1_1state__dependent}\index{regrid\+\_\+consts\+::state\+\_\+dependent@{regrid\+\_\+consts\+::state\+\_\+dependent}}


\subsection{Detailed Description}
Returns true if the coordinate is dependent on the state density, returns false otherwise. 

Definition at line 44 of file regrid\+\_\+consts.\+F90.

\subsection*{Public functions}
\begin{DoxyCompactItemize}
\item 
logical function \mbox{\hyperlink{interfaceregrid__consts_1_1state__dependent_a1b3781fedf825907b56d77aba29877e6}{state\+\_\+dependent\+\_\+char}} (string)
\begin{DoxyCompactList}\small\item\em Returns true if the coordinate is dependent on the state density, returns false otherwise. \end{DoxyCompactList}\item 
logical function \mbox{\hyperlink{interfaceregrid__consts_1_1state__dependent_ab5e753a8e0586a1936545d558d544971}{state\+\_\+dependent\+\_\+int}} (mode)
\begin{DoxyCompactList}\small\item\em Returns true if the coordinate is dependent on the state density, returns false otherwise. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Returns true if the coordinate is dependent on the state density, returns false otherwise. 

Definition at line 44 of file regrid\+\_\+consts.\+F90.



\subsection{Functions and subroutines}
\mbox{\Hypertarget{interfaceregrid__consts_1_1state__dependent_a1b3781fedf825907b56d77aba29877e6}\label{interfaceregrid__consts_1_1state__dependent_a1b3781fedf825907b56d77aba29877e6}} 
\index{regrid\+\_\+consts\+::state\+\_\+dependent@{regrid\+\_\+consts\+::state\+\_\+dependent}!state\+\_\+dependent\+\_\+char@{state\+\_\+dependent\+\_\+char}}
\index{state\+\_\+dependent\+\_\+char@{state\+\_\+dependent\+\_\+char}!regrid\+\_\+consts\+::state\+\_\+dependent@{regrid\+\_\+consts\+::state\+\_\+dependent}}
\subsubsection{\texorpdfstring{state\+\_\+dependent\+\_\+char()}{state\_dependent\_char()}}
{\footnotesize\ttfamily logical function regrid\+\_\+consts\+::state\+\_\+dependent\+::state\+\_\+dependent\+\_\+char (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{string }\end{DoxyParamCaption})}



Returns true if the coordinate is dependent on the state density, returns false otherwise. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em string} & String to indicate coordinate mode \\
\hline
\end{DoxyParams}


Definition at line 103 of file regrid\+\_\+consts.\+F90.


\begin{DoxyCode}
103   \textcolor{keywordtype}{character(len=*)}, \textcolor{keywordtype}{intent(in)} :: string\textcolor{comment}{ !< String to indicate coordinate mode}
104 
105   state\_dependent\_char = state\_dependent\_int( coordinatemode(string) )
106 
\end{DoxyCode}
\mbox{\Hypertarget{interfaceregrid__consts_1_1state__dependent_ab5e753a8e0586a1936545d558d544971}\label{interfaceregrid__consts_1_1state__dependent_ab5e753a8e0586a1936545d558d544971}} 
\index{regrid\+\_\+consts\+::state\+\_\+dependent@{regrid\+\_\+consts\+::state\+\_\+dependent}!state\+\_\+dependent\+\_\+int@{state\+\_\+dependent\+\_\+int}}
\index{state\+\_\+dependent\+\_\+int@{state\+\_\+dependent\+\_\+int}!regrid\+\_\+consts\+::state\+\_\+dependent@{regrid\+\_\+consts\+::state\+\_\+dependent}}
\subsubsection{\texorpdfstring{state\+\_\+dependent\+\_\+int()}{state\_dependent\_int()}}
{\footnotesize\ttfamily logical function regrid\+\_\+consts\+::state\+\_\+dependent\+::state\+\_\+dependent\+\_\+int (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{mode }\end{DoxyParamCaption})}



Returns true if the coordinate is dependent on the state density, returns false otherwise. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & Coordinate mode \\
\hline
\end{DoxyParams}


Definition at line 111 of file regrid\+\_\+consts.\+F90.


\begin{DoxyCode}
111   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: mode\textcolor{comment}{ !< Coordinate mode}
112   \textcolor{keywordflow}{select case} ( mode )
113     \textcolor{keywordflow}{case} (regridding\_layer); state\_dependent\_int = .true.
114     \textcolor{keywordflow}{case} (regridding\_zstar); state\_dependent\_int = .false.
115     \textcolor{keywordflow}{case} (regridding\_sigma\_shelf\_zstar); state\_dependent\_int = .false.
116     \textcolor{keywordflow}{case} (regridding\_rho);   state\_dependent\_int = .true.
117     \textcolor{keywordflow}{case} (regridding\_sigma); state\_dependent\_int = .false.
118     \textcolor{keywordflow}{case} (regridding\_hycom1); state\_dependent\_int = .true.
119     \textcolor{keywordflow}{case} (regridding\_slight); state\_dependent\_int = .true.
120     \textcolor{keywordflow}{case} (regridding\_adaptive); state\_dependent\_int = .true.
121 \textcolor{keywordflow}{    case default} ; \textcolor{keyword}{call }mom\_error(fatal, \textcolor{stringliteral}{"state\_dependent: "}//&
122        \textcolor{stringliteral}{"Unrecognized choice of coordinate."})
123 \textcolor{keywordflow}{  end select}
\end{DoxyCode}


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