% $Id$
%
% Earth System Modeling Framework
% Copyright (c) 2002-2025, University Corporation for Atmospheric Research, 
% Massachusetts Institute of Technology, Geophysical Fluid Dynamics 
% Laboratory, University of Michigan, National Centers for Environmental 
% Prediction, Los Alamos National Laboratory, Argonne National Laboratory, 
% NASA Goddard Space Flight Center.
% Licensed under the University of Illinois-NCSA License.

#ifdef STANDALONE
\documentclass[]{article}

\usepackage{epsf}
\usepackage{html}
\usepackage{times}
\usepackage{alltt}
\usepackage[T1]{fontenc}
\usepackage[dvips]{graphics,color}

\textwidth 6.5in
\textheight 8.5in
\addtolength{\oddsidemargin}{-.75in}
\newcommand{\mytitle}{\Large {\bf Component Reference}}
\newcommand{\myauthors}{\large {\it Gerhard Theurich}}
% set a standard paragraph style
\setlength{\parskip}{0pt}
\setlength{\parindent}{0pt}
\setlength{\baselineskip}{11pt}
% these are temporary patches until something more
% permanent is done to the protex script.
\newlength{\oldparskip}
\newlength{\oldparindent}
\newlength{\oldbaselineskip}
#endif

#ifdef STANDALONE
\begin{document}
#endif

\bodytext{BGCOLOR=white LINK=#083194 VLINK=#21004A}

#ifdef STANDALONE
% Title page
\input{../../../doc/title_alldoc}

\newpage
\tableofcontents

\newpage
\setlength{\parskip}{1.5ex}

#endif

%%%%%%%%%%%%% Gridded Component Class %%%%%%%%%
\section{GridComp Class}

\subsection{Description}
#ifdef STANDALONE
\input{GridComp_desc}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/GridComp_desc}
#endif

%\subsection{GridComp Options}
%#ifdef STANDALONE
%\input{GridComp_options}
%#elif defined(CONSTITUENT)
%\input{../Superstructure/Component/doc/GridComp_options}
%#endif

\subsection{Use and Examples}
#ifdef STANDALONE
\input{GridComp_usage}
\input{ESMF_GCompEx_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/GridComp_usage}
\input{../Superstructure/Component/doc/ESMF_GCompEx_fapi}
#endif

\subsection{Restrictions and Future Work}
#ifdef STANDALONE
\input{GridComp_rest}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/GridComp_rest}
#endif

\subsection{Class API}
#ifdef STANDALONE
\input{ESMF_GridComp_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/ESMF_GridComp_fapi}
#endif

%%%%%%%%%%%%% Coupler Class %%%%%%%%%
\section{CplComp Class}

\subsection{Description}
#ifdef STANDALONE
\input{CplComp_desc}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/CplComp_desc}
#endif

\subsection{Use and Examples}
#ifdef STANDALONE
\input{CplComp_usage}
\input{ESMF_CplEx_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/CplComp_usage}
\input{../Superstructure/Component/doc/ESMF_CplEx_fapi}
#endif

\subsection{Restrictions and Future Work}
#ifdef STANDALONE
\input{CplComp_rest}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/CplComp_rest}
#endif

\subsection{Class API}
#ifdef STANDALONE
\input{ESMF_CplComp_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/ESMF_CplComp_fapi}
#endif

%%%%%%%%%%%%% Science Component Class %%%%%%%%%
\section{SciComp Class}

\subsection{Description}
#ifdef STANDALONE
\input{SciComp_desc}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/SciComp_desc}
#endif

%\subsection{SciComp Options}
%#ifdef STANDALONE
%\input{SciComp_options}
%#elif defined(CONSTITUENT)
%\input{../Superstructure/Component/doc/SciComp_options}
%#endif

\subsection{Use and Examples}
#ifdef STANDALONE
\input{SciComp_usage}
\input{ESMF_SCompEx_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/SciComp_usage}
\input{../Superstructure/Component/doc/ESMF_SCompEx_fapi}
#endif

\subsection{Restrictions and Future Work}
#ifdef STANDALONE
\input{SciComp_rest}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/SciComp_rest}
#endif

\subsection{Class API}
#ifdef STANDALONE
\input{ESMF_SciComp_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/ESMF_SciComp_fapi}
#endif

%%%%%%%%%%%%% Fault-tolerant Component Tunnel %%%%%%%%%
\section{Fault-tolerant Component Tunnel}

\subsection{Description}
#ifdef STANDALONE
\input{CompTunnel_desc}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/CompTunnel_desc}
#endif

\subsection{Use and Examples}
#ifdef STANDALONE
\input{CompTunnel_usage}
\input{ESMF_CompTunnelEx_fapi}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/CompTunnel_usage}
\input{../Superstructure/Component/doc/ESMF_CompTunnelEx_fapi}
#endif

\subsection{Restrictions and Future Work}
#ifdef STANDALONE
\input{CompTunnel_rest}
#elif defined(CONSTITUENT)
\input{../Superstructure/Component/doc/CompTunnel_rest}
#endif

%%%%%%% end class sections %%%%%%%%

#ifdef STANDALONE
%\section{Glossary}
%\input{Component_glos}
#endif

#ifdef STANDALONE
%\section{Bibliography}
\bibliography{comp} 
\bibliographystyle{plain}
\addcontentsline{toc}{section}{Bibliography}
#endif

#ifdef STANDALONE
\end{document}
#endif
