\hypertarget{interfaceregrid__consts_1_1coordinateunits}{}\doxysection{regrid\+\_\+consts\+::coordinateunits Interface Reference}
\label{interfaceregrid__consts_1_1coordinateunits}\index{regrid\_consts::coordinateunits@{regrid\_consts::coordinateunits}}


\doxysubsection{Detailed Description}
Returns a string with the coordinate units associated with the coordinate mode. 

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

\doxysubsection*{Public functions}
\begin{DoxyCompactItemize}
\item 
character(len=16) function \mbox{\hyperlink{interfaceregrid__consts_1_1coordinateunits_aea0a12fa2ff22d8a71417669cecc7fb3}{coordinateunitsi}} (coord\+Mode)
\begin{DoxyCompactList}\small\item\em Returns a string with the coordinate units associated with the enumerated integer,. \end{DoxyCompactList}\item 
character(len=16) function \mbox{\hyperlink{interfaceregrid__consts_1_1coordinateunits_ab2561f6d7c929b42165b706d318747c6}{coordinateunitss}} (string)
\begin{DoxyCompactList}\small\item\em Returns a string with the coordinate units associated with the string defining the coordinate mode. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Returns a string with the coordinate units associated with the coordinate mode. 

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



\doxysubsection{Functions and subroutines}
\mbox{\Hypertarget{interfaceregrid__consts_1_1coordinateunits_aea0a12fa2ff22d8a71417669cecc7fb3}\label{interfaceregrid__consts_1_1coordinateunits_aea0a12fa2ff22d8a71417669cecc7fb3}} 
\index{regrid\_consts::coordinateunits@{regrid\_consts::coordinateunits}!coordinateunitsi@{coordinateunitsi}}
\index{coordinateunitsi@{coordinateunitsi}!regrid\_consts::coordinateunits@{regrid\_consts::coordinateunits}}
\doxysubsubsection{\texorpdfstring{coordinateunitsi()}{coordinateunitsi()}}
{\footnotesize\ttfamily character(len=16) function regrid\+\_\+consts\+::coordinateunits\+::coordinateunitsi (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{coord\+Mode }\end{DoxyParamCaption})}



Returns a string with the coordinate units associated with the enumerated integer,. 

\begin{DoxyReturn}{Returns}
Units of coordinate 
\end{DoxyReturn}

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


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


\begin{DoxyCode}{0}
\DoxyCodeLine{75   \textcolor{keywordtype}{character(len=16)} :: coordinateUnitsI\textcolor{comment}{ !< Units of coordinate}}
\DoxyCodeLine{76   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: coordMode\textcolor{comment}{ !< Coordinate mode}}
\DoxyCodeLine{77   \textcolor{keywordflow}{select case} ( coordmode )}
\DoxyCodeLine{78     \textcolor{keywordflow}{case} (regridding\_layer); coordinateunitsi = \textcolor{stringliteral}{"kg m\string^-\/3"}}
\DoxyCodeLine{79     \textcolor{keywordflow}{case} (regridding\_zstar); coordinateunitsi = \textcolor{stringliteral}{"m"}}
\DoxyCodeLine{80     \textcolor{keywordflow}{case} (regridding\_sigma\_shelf\_zstar); coordinateunitsi = \textcolor{stringliteral}{"m"}}
\DoxyCodeLine{81     \textcolor{keywordflow}{case} (regridding\_rho);   coordinateunitsi = \textcolor{stringliteral}{"kg m\string^-\/3"}}
\DoxyCodeLine{82     \textcolor{keywordflow}{case} (regridding\_sigma); coordinateunitsi = \textcolor{stringliteral}{"Non-\/dimensional"}}
\DoxyCodeLine{83     \textcolor{keywordflow}{case} (regridding\_hycom1); coordinateunitsi = \textcolor{stringliteral}{"m"}}
\DoxyCodeLine{84     \textcolor{keywordflow}{case} (regridding\_slight); coordinateunitsi = \textcolor{stringliteral}{"m"}}
\DoxyCodeLine{85     \textcolor{keywordflow}{case} (regridding\_adaptive); coordinateunitsi = \textcolor{stringliteral}{"m"}}
\DoxyCodeLine{86 \textcolor{keywordflow}{    case default} ; \textcolor{keyword}{call }mom\_error(fatal, \textcolor{stringliteral}{"coordinateUnts: "}//\&}
\DoxyCodeLine{87        \textcolor{stringliteral}{"Unrecognized coordinate mode."})}
\DoxyCodeLine{88 \textcolor{keywordflow}{  end select}}

\end{DoxyCode}
\mbox{\Hypertarget{interfaceregrid__consts_1_1coordinateunits_ab2561f6d7c929b42165b706d318747c6}\label{interfaceregrid__consts_1_1coordinateunits_ab2561f6d7c929b42165b706d318747c6}} 
\index{regrid\_consts::coordinateunits@{regrid\_consts::coordinateunits}!coordinateunitss@{coordinateunitss}}
\index{coordinateunitss@{coordinateunitss}!regrid\_consts::coordinateunits@{regrid\_consts::coordinateunits}}
\doxysubsubsection{\texorpdfstring{coordinateunitss()}{coordinateunitss()}}
{\footnotesize\ttfamily character(len=16) function regrid\+\_\+consts\+::coordinateunits\+::coordinateunitss (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{string }\end{DoxyParamCaption})}



Returns a string with the coordinate units associated with the string defining the coordinate mode. 

\begin{DoxyReturn}{Returns}
Units of coordinate 
\end{DoxyReturn}

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


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


\begin{DoxyCode}{0}
\DoxyCodeLine{94   \textcolor{keywordtype}{character(len=16)} :: coordinateUnitsS\textcolor{comment}{ !< Units of coordinate}}
\DoxyCodeLine{95   \textcolor{keywordtype}{character(len=*)}, \textcolor{keywordtype}{intent(in)} :: string\textcolor{comment}{ !< Coordinate mode}}
\DoxyCodeLine{96   \textcolor{keywordtype}{integer} :: coordMode}
\DoxyCodeLine{97   coordmode = coordinatemode(string)}
\DoxyCodeLine{98   coordinateunitss = coordinateunitsi(coordmode)}

\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}
