| 9 | %aja%\usepackage{amsfonts} | %aja%\usepackage{amsfonts} | 
| 10 | \usepackage{amsmath} | \usepackage{amsmath} | 
| 11 | \usepackage{html} | \usepackage{html} | 
| 12 | \usepackage{graphics} | \usepackage{hthtml} | 
| 13 |  | \usepackage{graphicx} | 
| 14 |  |  | 
| 15 | %cnh%\usepackage{array} | %cnh%\usepackage{array} | 
| 16 | %cnh%\usepackage{multirow} | %cnh%\usepackage{multirow} | 
| 17 |  |  | 
| 18 |  | %eh3  Commands to reference either files or symbols within the "HTML-ized" | 
| 19 |  | %eh3  ("vdb") code. | 
| 20 |  | %eh3 | 
| 21 |  | \newcommand{\filelink}[2]{ | 
| 22 |  | \htmladdnormallink{\em #1()}{../code_reference/vdb/byname/#2.html} | 
| 23 |  | } | 
| 24 |  | \newcommand{\varlink}[2]{ | 
| 25 |  | \htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} | 
| 26 |  | } | 
| 27 |  |  | 
| 28 |  | %eh3 try out the epsfig package | 
| 29 |  | \usepackage[dvips]{epsfig} | 
| 30 |  | \def\scalefig#1{\epsfxsize #1\textwidth} | 
| 31 |  |  | 
| 32 |  |  | 
| 33 | %ph%\usepackage{epsfig} | %ph%\usepackage{epsfig} | 
| 34 | %ph%\usepackage{psfrag} | %ph%\usepackage{psfrag} | 
| 35 | %ph%\usepackage{oldgerm} | %ph%\usepackage{oldgerm} | 
| 50 | %cnh%\renewcommand{\footrulewidth}{0.4pt} | %cnh%\renewcommand{\footrulewidth}{0.4pt} | 
| 51 |  |  | 
| 52 | % bibtex stuff | % bibtex stuff | 
| 53 | \newcommand{\BIBPATH}{.} | %aja%\newcommand{\BIBPATH}{.} | 
| 54 | \usepackage{natbib} | %aja%\usepackage{natbib} | 
| 55 | \bibliographystyle{\BIBPATH/jmr_my} | %aja%\bibliographystyle{\BIBPATH/jmr_my} | 
| 56 | \gdef\harvardleft{[} | %aja%\gdef\harvardleft{[} | 
| 57 | \gdef\harvardright{]} | %aja%\gdef\harvardright{]} | 
| 58 | \bibpunct{[}{]}{,}{a}{}{,} | %aja%\bibpunct{[}{]}{,}{a}{}{,} | 
| 59 |  | \bibliographystyle{plain} | 
| 60 |  |  | 
| 61 | % referencing | % referencing | 
| 62 | %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} | %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} | 
| 76 | %\renewcommand{\chaptername}{Section} | %\renewcommand{\chaptername}{Section} | 
| 77 |  |  | 
| 78 |  |  | 
| 79 |  | % This allows hyperlinks in PDF | 
| 80 |  | % hyperref package and colors for hyperref package | 
| 81 |  | \usepackage{color} | 
| 82 |  | \usepackage[dvips]{hyperref} | 
| 83 |  | \definecolor{darkgreen}{rgb}{0,0.4,0} | 
| 84 |  | \definecolor{darkblue}{rgb}{0,0,0.4} | 
| 85 |  | \definecolor{darkred}{rgb}{0.5,0,0} | 
| 86 |  | \hypersetup{breaklinks=true, | 
| 87 |  | colorlinks=true, | 
| 88 |  | linkcolor=darkgreen, | 
| 89 |  | citecolor=darkblue, | 
| 90 |  | pagecolor=darkred, | 
| 91 |  | pdftitle={MITgcm Release 1 Documentation}, | 
| 92 |  | pdfauthor={MITgcm-support@mitgcm.org}, | 
| 93 |  | pdfkeywords={oceanography, ocean model, general circulation model, | 
| 94 |  | non-hydrostatic, finite volume, inverse methods, adjoint method} | 
| 95 |  | } | 
| 96 |  |  | 
| 97 |  | % Some definitions (AMM) | 
| 98 |  | \def\p#1{{\partial \over {\partial #1}}} | 
| 99 |  | \def\pp#1#2{{\partial #1 \over {\partial #2}}} | 
| 100 |  | \def\dd#1#2{{d #1 \over {d #2}}} | 
| 101 |  | \def\bq{\begin{equation}} | 
| 102 |  | \def\bqa{\begin{eqnarray}} | 
| 103 |  | \def\eq{\end{equation}} | 
| 104 |  | \def\eqa{\end{eqnarray}} | 
| 105 |  |  | 
| 106 |  | \def\h{ {1\over2} } | 
| 107 |  | \def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}} | 
| 108 |  | \def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}} | 
| 109 |  |  | 
| 110 |  | \def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage} | 
| 111 |  |  | 
| 112 |  |  | 
| 113 | \begin{document} | \begin{document} | 
| 114 |  |  | 
| 115 |  | \bodytext{bgcolor="#FFFFFFFF"} | 
| 116 |  |  | 
| 117 | \tableofcontents | \tableofcontents | 
| 118 | \pagebreak | %\pagebreak | 
| 119 |  |  | 
| 120 | \part{MIT GCM basics} | %\part{MIT GCM basics} | 
| 121 |  |  | 
| 122 | % Section: Overview | % Section: Overview | 
| 123 | \input{part1/part1} | \input{part1/part1} | 
| 136 | %\pagebreak | %\pagebreak | 
| 137 |  |  | 
| 138 |  |  | 
| 139 | \part{Adjoint of the MIT GCM} | %\part{Adjoint of the MIT GCM} | 
| 140 |  |  | 
| 141 | % Section: Automatic Differentiation | % Section: Automatic Differentiation | 
| 142 | \input{part5/part5} | \input{part5/part5} | 
| 143 | %\pagebreak | %\pagebreak | 
| 144 |  |  | 
| 145 |  |  | 
| 146 | \part{Additional features} | %\part{Additional features} | 
| 147 |  |  | 
| 148 | % Section: Physical Packages | % Section: Physical Packages | 
| 149 | \input{part6/part6} | \input{part6/part6} | 
| 153 | \input{part7/part7} | \input{part7/part7} | 
| 154 | %\pagebreak | %\pagebreak | 
| 155 |  |  | 
| 156 | % Section: ECCO Interface | % Section: ECCO | 
| 157 | \input{part8/part8} | \input{part8/part8} | 
| 158 | %\pagebreak | %\pagebreak | 
| 159 |  |  | 
| 160 | % Section: References: | % Section: References: | 
| 161 | \markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} | %\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} | 
| 162 | \addcontentsline{toc}{chapter}{BIBLIOGRAPHY} | \addcontentsline{toc}{chapter}{BIBLIOGRAPHY} | 
| 163 | \bibliography{\BIBPATH/manual_references} | %aja%\bibliography{\BIBPATH/manual_references} | 
| 164 |  | \bibliography{manual_references} | 
| 165 |  |  | 
| 166 | \end{document} | \end{document} |