% $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 C 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_cdesc}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_cdesc}
#endif

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

\subsection{Use and Examples}
#ifdef STANDALONE
\input{Field_cusage}
%\input{ESMF_FieldEx_fapi}
%\input{ESMF_FieldCreateEx_fapi}
%\input{ESMF_FieldRepDimEx_fapi}
%\input{ESMF_FieldArbGridEx_fapi}
%%\input{ESMF_FieldGetEx_fapi}
%%\input{ESMF_FieldSetEx_fapi}
%\input{ESMF_FieldRegridEx_fapi}
%\input{ESMF_FieldRegridMaskEx_fapi}
%\input{../../FieldComm/doc/ESMF_FieldCommEx_fapi}
%\input{../../FieldComm/doc/ESMF_FieldRedistEx_fapi}
%\input{../../FieldComm/doc/ESMF_FieldSMMEx_fapi}
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/Field_cusage}
%\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_FieldGetEx_fapi}
%%\input{../Infrastructure/Field/doc/ESMF_FieldSetEx_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldRegridEx_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldRegridMaskEx_fapi} <
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldCommEx_fapi}
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldRedistEx_fapi}
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldSMMEx_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{ESMC_Field_chapi.tex}
%\input{ESMF_FieldCreate_fapi}
%\input{ESMF_FieldEmpty_fapi}
%\input{ESMF_FieldGet_fapi}
%\input{ESMF_FieldPr_fapi}
%\input{ESMF_FieldSet_fapi}
%\input{ESMF_FieldSetCo_fapi}
%\input{ESMF_Field_fapi}  
#elif defined(CONSTITUENT)
\input{../Infrastructure/Field/doc/ESMC_Field_chapi.tex}
%\input{../Infrastructure/Field/doc/ESMF_FieldCreate_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldEmpty_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldGet_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldPr_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldSet_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldSetCo_fapi}
%\input{../Infrastructure/Field/doc/ESMF_Field_fapi}
#endif

%\subsection{Class API: Field Communications}
#ifdef STANDALONE
%\input{../../FieldComm/doc/ESMF_FieldGather_fapi}
%\input{../../FieldComm/doc/ESMF_FieldRedist_fapi}
%\input{../../Field/doc/ESMF_FieldRegrid_fapi}
%\input{../../FieldComm/doc/ESMF_FieldScatter_fapi}
%\input{../../FieldComm/doc/ESMF_FieldSMM_fapi} 
#elif defined(CONSTITUENT)
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldGather_fapi}
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldRedist_fapi}
%\input{../Infrastructure/Field/doc/ESMF_FieldRegrid_fapi}
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldScatter_fapi}
%\input{../Infrastructure/FieldComm/doc/ESMF_FieldSMM_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
