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


\doxysubsection{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.

\doxysubsection*{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}


\doxysubsection{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.



\doxysubsection{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}}
\doxysubsubsection{\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{\texttt{ in}}  & {\em string} & String to indicate coordinate mode \\
\hline
\end{DoxyParams}


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


\begin{DoxyCode}{0}
\DoxyCodeLine{103   \textcolor{keywordtype}{character(len=*)}, \textcolor{keywordtype}{intent(in)} :: string\textcolor{comment}{ !< String to indicate coordinate mode}}
\DoxyCodeLine{104 }
\DoxyCodeLine{105   state\_dependent\_char = state\_dependent\_int( coordinatemode(string) )}
\DoxyCodeLine{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}}
\doxysubsubsection{\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{\texttt{ in}}  & {\em mode} & Coordinate mode \\
\hline
\end{DoxyParams}


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


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