% $Id$

#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}{Field Fortran Reference}
\newcommand{\myauthors}{Fei Liu}
% 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

\section{Field Class}

\subsection{Description}
#ifdef STANDALONE
\input{Field_desc}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_desc}
#endif

\subsection{Constants}
#ifdef STANDALONE
\input{Field_options}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_options}
#endif


\subsection{Use and Examples}
#ifdef STANDALONE
\input{Field_usage}
\input{ESMF_FieldEx_fapi}
\input{ESMF_FieldCreateEx_fapi}
\input{ESMF_FieldRepDimEx_fapi}
\input{ESMF_FieldArbGridEx_fapi}
\input{ESMF_FieldRegridEx_fapi}
\input{ESMF_FieldRegridMaskEx_fapi}
\input{ESMF_FieldMeshRegridEx_fapi}
\input{ESMF_FieldCommEx_fapi}
\input{ESMF_FieldRedistEx_fapi}
\input{ESMF_FieldSMMEx_fapi}
\input{ESMF_FieldHaloEx_fapi}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_usage}
\input{../Infrastructure/Field/doc/ESMF_FieldEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldCreateEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldRepDimEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldArbGridEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldRegridEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldRegridMaskEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldMeshRegridEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldCommEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldRedistEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldSMMEx_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldHaloEx_fapi}
#endif

\subsection{Restrictions and Future Work}
#ifdef STANDALONE
\input{Field_rest}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_rest}
#endif

\subsection{Design and Implementation Notes}
#ifdef STANDALONE
\input{Field_implnotes}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_implnotes}
#endif

\subsection{Class API}
#ifdef STANDALONE
\input{ESMF_FieldCreate_fapi}
\input{ESMF_FieldEmpty_fapi}
\input{ESMF_FieldGather_fapi}
\input{ESMF_FieldGet_fapi}
\input{ESMF_FieldHalo_fapi}
\input{ESMF_FieldPr_fapi}
\input{ESMF_FieldRedist_fapi}
\input{ESMF_FieldRegrid_fapi}
\input{ESMF_FieldScatter_fapi}
\input{ESMF_FieldSet_fapi}
\input{ESMF_FieldSMM_fapi}
\input{ESMF_Field_fapi}
\input{ESMF_FieldWr_fapi}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/ESMF_FieldCreate_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldEmpty_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldGather_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldGet_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldHalo_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldPr_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldRedist_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldRegrid_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldScatter_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldSet_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldSMM_fapi}
\input{../Infrastructure/Field/doc/ESMF_Field_fapi}
\input{../Infrastructure/Field/doc/ESMF_FieldWr_fapi}
#endif

\subsection{Class API: Field Utilities}
#ifdef STANDALONE
\input{ESMF_FieldGetAllocBounds_fapi}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/ESMF_FieldGetAllocBounds_fapi}
#endif

#ifdef STANDALONE
\section{Review Status}
%\input{Field_desrev}
#endif

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

#ifdef STANDALONE
\end{document}
#endif
