\hypertarget{interfacemom__io_1_1file__exists}{}\section{mom\+\_\+io\+::file\+\_\+exists Interface Reference}
\label{interfacemom__io_1_1file__exists}\index{mom\_io::file\_exists@{mom\_io::file\_exists}}


\subsection{Detailed Description}
Indicate whether a file exists, perhaps with domain decomposition. 

Definition at line 68 of file M\+O\+M\+\_\+io.\+F90.

\subsection*{Private functions}
\begin{DoxyCompactItemize}
\item 
logical function \mbox{\hyperlink{interfacemom__io_1_1file__exists_a5df813867c2eaf194bef25dd16c0fe7b}{fms\+\_\+file\+\_\+exists}} (filename, domain, no\+\_\+domain)
\begin{DoxyCompactList}\small\item\em Returns true if the named file or its domain-\/decomposed variant exists. \end{DoxyCompactList}\item 
logical function \mbox{\hyperlink{interfacemom__io_1_1file__exists_a6d365ed1d242184609780bd5d182efa2}{mom\+\_\+file\+\_\+exists}} (filename, M\+O\+M\+\_\+\+Domain)
\begin{DoxyCompactList}\small\item\em Returns true if the named file or its domain-\/decomposed variant exists. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Indicate whether a file exists, perhaps with domain decomposition. 

Definition at line 68 of file M\+O\+M\+\_\+io.\+F90.



\subsection{Functions and subroutines}
\mbox{\Hypertarget{interfacemom__io_1_1file__exists_a5df813867c2eaf194bef25dd16c0fe7b}\label{interfacemom__io_1_1file__exists_a5df813867c2eaf194bef25dd16c0fe7b}} 
\index{mom\_io::file\_exists@{mom\_io::file\_exists}!fms\_file\_exists@{fms\_file\_exists}}
\index{fms\_file\_exists@{fms\_file\_exists}!mom\_io::file\_exists@{mom\_io::file\_exists}}
\subsubsection{\texorpdfstring{fms\_file\_exists()}{fms\_file\_exists()}}
{\footnotesize\ttfamily logical function mom\+\_\+io\+::file\+\_\+exists\+::fms\+\_\+file\+\_\+exists (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{filename,  }\item[{type(domain2d), intent(in), optional}]{domain,  }\item[{logical, intent(in), optional}]{no\+\_\+domain }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Returns true if the named file or its domain-\/decomposed variant exists. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em filename} & The name of the file being inquired about \\
\hline
\mbox{\texttt{ in}}  & {\em domain} & The mpp domain2d that describes the decomposition \\
\hline
\mbox{\texttt{ in}}  & {\em no\+\_\+domain} & This file does not use domain decomposition \\
\hline
\end{DoxyParams}


Definition at line 835 of file M\+O\+M\+\_\+io.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{835   \textcolor{keywordtype}{character(len=*)}, \textcolor{keywordtype}{intent(in)}         :: filename\textcolor{comment}{  !< The name of the file being inquired about}}
\DoxyCodeLine{836   \textcolor{keywordtype}{type}(domain2d), \textcolor{keywordtype}{optional}, \textcolor{keywordtype}{intent(in)} :: domain\textcolor{comment}{    !< The mpp domain2d that describes the decomposition}}
\DoxyCodeLine{837   \textcolor{keywordtype}{logical},        \textcolor{keywordtype}{optional}, \textcolor{keywordtype}{intent(in)} :: no\_domain\textcolor{comment}{ !< This file does not use domain decomposition}}
\DoxyCodeLine{838 \textcolor{comment}{! This function uses the fms\_io function file\_exist to determine whether}}
\DoxyCodeLine{839 \textcolor{comment}{! a named file (or its decomposed variant) exists.}}
\DoxyCodeLine{840 }
\DoxyCodeLine{841   \textcolor{keywordtype}{logical} :: FMS\_file\_exists}
\DoxyCodeLine{842 }
\DoxyCodeLine{843   fms\_file\_exists = file\_exist(filename, domain, no\_domain)}
\DoxyCodeLine{844 }

\end{DoxyCode}
\mbox{\Hypertarget{interfacemom__io_1_1file__exists_a6d365ed1d242184609780bd5d182efa2}\label{interfacemom__io_1_1file__exists_a6d365ed1d242184609780bd5d182efa2}} 
\index{mom\_io::file\_exists@{mom\_io::file\_exists}!mom\_file\_exists@{mom\_file\_exists}}
\index{mom\_file\_exists@{mom\_file\_exists}!mom\_io::file\_exists@{mom\_io::file\_exists}}
\subsubsection{\texorpdfstring{mom\_file\_exists()}{mom\_file\_exists()}}
{\footnotesize\ttfamily logical function mom\+\_\+io\+::file\+\_\+exists\+::mom\+\_\+file\+\_\+exists (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{filename,  }\item[{type(mom\+\_\+domain\+\_\+type), intent(in)}]{M\+O\+M\+\_\+\+Domain }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Returns true if the named file or its domain-\/decomposed variant exists. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em filename} & The name of the file being inquired about \\
\hline
\mbox{\texttt{ in}}  & {\em mom\+\_\+domain} & The M\+O\+M\+\_\+\+Domain that describes the decomposition \\
\hline
\end{DoxyParams}


Definition at line 821 of file M\+O\+M\+\_\+io.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{821   \textcolor{keywordtype}{character(len=*)},       \textcolor{keywordtype}{intent(in)} :: filename\textcolor{comment}{   !< The name of the file being inquired about}}
\DoxyCodeLine{822   \textcolor{keywordtype}{type}(MOM\_domain\_type),  \textcolor{keywordtype}{intent(in)} :: MOM\_Domain\textcolor{comment}{ !< The MOM\_Domain that describes the decomposition}}
\DoxyCodeLine{823 }
\DoxyCodeLine{824 \textcolor{comment}{! This function uses the fms\_io function file\_exist to determine whether}}
\DoxyCodeLine{825 \textcolor{comment}{! a named file (or its decomposed variant) exists.}}
\DoxyCodeLine{826 }
\DoxyCodeLine{827   \textcolor{keywordtype}{logical} :: MOM\_file\_exists}
\DoxyCodeLine{828 }
\DoxyCodeLine{829   mom\_file\_exists = file\_exist(filename, mom\_domain\%mpp\_domain)}
\DoxyCodeLine{830 }

\end{DoxyCode}


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