\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 \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 \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{\tt in}  & {\em filename} & The name of the file being inquired about\\
\hline
\mbox{\tt in}  & {\em domain} & The mpp domain2d that describes the decomposition\\
\hline
\mbox{\tt 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}
835   \textcolor{keywordtype}{character(len=*)}, \textcolor{keywordtype}{intent(in)}         :: filename\textcolor{comment}{  !< The name of the file being inquired about}
836   \textcolor{keywordtype}{type}(domain2d), \textcolor{keywordtype}{optional}, \textcolor{keywordtype}{intent(in)} :: domain\textcolor{comment}{    !< The mpp domain2d that describes the decomposition}
837   \textcolor{keywordtype}{logical},        \textcolor{keywordtype}{optional}, \textcolor{keywordtype}{intent(in)} :: no\_domain\textcolor{comment}{ !< This file does not use domain decomposition}
838 \textcolor{comment}{! This function uses the fms\_io function file\_exist to determine whether}
839 \textcolor{comment}{! a named file (or its decomposed variant) exists.}
840 
841   \textcolor{keywordtype}{logical} :: fms\_file\_exists
842 
843   fms\_file\_exists = file\_exist(filename, domain, no\_domain)
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{\tt in}  & {\em filename} & The name of the file being inquired about\\
\hline
\mbox{\tt 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}
821   \textcolor{keywordtype}{character(len=*)},       \textcolor{keywordtype}{intent(in)} :: filename\textcolor{comment}{   !< The name of the file being inquired about}
822   \textcolor{keywordtype}{type}(mom\_domain\_type),  \textcolor{keywordtype}{intent(in)} :: mom\_domain\textcolor{comment}{ !< The MOM\_Domain that describes the decomposition}
823 
824 \textcolor{comment}{! This function uses the fms\_io function file\_exist to determine whether}
825 \textcolor{comment}{! a named file (or its decomposed variant) exists.}
826 
827   \textcolor{keywordtype}{logical} :: mom\_file\_exists
828 
829   mom\_file\_exists = file\_exist(filename, mom\_domain%mpp\_domain)
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}
