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


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

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

\subsection*{Public functions}
\begin{DoxyCompactItemize}
\item 
character(len=16) function \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 \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}


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

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



\subsection{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}}
\subsubsection{\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{\tt in}  & {\em coordmode} & Coordinate mode \\
\hline
\end{DoxyParams}


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


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


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


\begin{DoxyCode}
94   \textcolor{keywordtype}{character(len=16)} :: coordinateunitss\textcolor{comment}{ !< Units of coordinate}
95   \textcolor{keywordtype}{character(len=*)}, \textcolor{keywordtype}{intent(in)} :: string\textcolor{comment}{ !< Coordinate mode}
96   \textcolor{keywordtype}{integer} :: coordmode
97   coordmode = coordinatemode(string)
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}
