| 1 | edhill | 1.18 | % $Header: /u/u3/gcmpack/manual/manual.tex,v 1.17 2004/01/28 18:19:36 molod Exp $ | 
| 2 | adcroft | 1.2 | % $Name:  $ | 
| 3 | adcroft | 1.1 |  | 
| 4 |  |  | \documentclass[12pt]{book} | 
| 5 |  |  |  | 
| 6 | adcroft | 1.8 | %To help cross-reference | 
| 7 |  |  | %\usepackage{showlabels} | 
| 8 |  |  |  | 
| 9 |  |  | %aja%\usepackage{amsfonts} | 
| 10 | adcroft | 1.1 | \usepackage{amsmath} | 
| 11 | cnh | 1.7 | \usepackage{html} | 
| 12 | adcroft | 1.10 | \usepackage{graphicx} | 
| 13 | adcroft | 1.8 |  | 
| 14 |  |  | %cnh%\usepackage{array} | 
| 15 |  |  | %cnh%\usepackage{multirow} | 
| 16 | cnh | 1.12 |  | 
| 17 | edhill | 1.16 | %eh3  Commands to reference either files or symbols within the "HTML-ized" | 
| 18 |  |  | %eh3  ("vdb") code. | 
| 19 |  |  | %eh3 | 
| 20 |  |  | \newcommand{\filelink}[2]{ | 
| 21 |  |  | \htmladdnormallink{\em #1()}{../code_reference/vdb/byname/#2.html} | 
| 22 | cnh | 1.12 | } | 
| 23 |  |  | \newcommand{\varlink}[2]{ | 
| 24 | edhill | 1.16 | \htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} | 
| 25 | cnh | 1.12 | } | 
| 26 |  |  |  | 
| 27 | edhill | 1.18 | %eh3 try out the epsfig package | 
| 28 |  |  | \usepackage[dvips]{epsfig} | 
| 29 |  |  | \def\scalefig#1{\epsfxsize #1\textwidth} | 
| 30 | cnh | 1.12 |  | 
| 31 | adcroft | 1.8 |  | 
| 32 |  |  | %ph%\usepackage{epsfig} | 
| 33 |  |  | %ph%\usepackage{psfrag} | 
| 34 |  |  | %ph%\usepackage{oldgerm} | 
| 35 |  |  |  | 
| 36 | adcroft | 1.2 | % I commented the following because it introduced excessive white space | 
| 37 | adcroft | 1.8 | %aja%\usepackage{palatcm}              % better PDF | 
| 38 | adcroft | 1.1 |  | 
| 39 |  |  | % page headers and footers | 
| 40 | adcroft | 1.8 | %cnh%\usepackage{fancyhdr} | 
| 41 | adcroft | 1.2 | %\pagestyle{fancy} | 
| 42 | adcroft | 1.8 | %cnh%\fancyhead{} | 
| 43 |  |  | %cnh%\fancyhead[LO]{\slshape \rightmark} | 
| 44 |  |  | %cnh%\fancyhead[RE]{\slshape \leftmark} | 
| 45 |  |  | %cnh%\fancyhead[RO,LE]{\thepage} | 
| 46 |  |  | %cnh%\fancyfoot[CO,CE]{\today} | 
| 47 |  |  | %cnh%\fancyfoot[RO,LE]{ } | 
| 48 |  |  | %cnh%\renewcommand{\headrulewidth}{0.4pt} | 
| 49 |  |  | %cnh%\renewcommand{\footrulewidth}{0.4pt} | 
| 50 | adcroft | 1.1 |  | 
| 51 | heimbach | 1.5 | % bibtex stuff | 
| 52 | adcroft | 1.10 | %aja%\newcommand{\BIBPATH}{.} | 
| 53 |  |  | %aja%\usepackage{natbib} | 
| 54 |  |  | %aja%\bibliographystyle{\BIBPATH/jmr_my} | 
| 55 |  |  | %aja%\gdef\harvardleft{[} | 
| 56 |  |  | %aja%\gdef\harvardright{]} | 
| 57 |  |  | %aja%\bibpunct{[}{]}{,}{a}{}{,} | 
| 58 |  |  | \bibliographystyle{plain} | 
| 59 | heimbach | 1.5 |  | 
| 60 | adcroft | 1.1 | % referencing | 
| 61 | adcroft | 1.8 | %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} | 
| 62 |  |  | %ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} | 
| 63 |  |  | %ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} | 
| 64 |  |  | %ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} | 
| 65 |  |  | %ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} | 
| 66 |  |  | %ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} | 
| 67 | adcroft | 1.1 |  | 
| 68 |  |  | % stuff for psfrag | 
| 69 | adcroft | 1.8 | %ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} | 
| 70 |  |  | %ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} | 
| 71 | adcroft | 1.1 |  | 
| 72 | adcroft | 1.3 | % This allows numbering of subsubsections | 
| 73 |  |  | \setcounter{secnumdepth}{3} | 
| 74 |  |  | % This changes the the chapter title | 
| 75 |  |  | %\renewcommand{\chaptername}{Section} | 
| 76 |  |  |  | 
| 77 | adcroft | 1.11 |  | 
| 78 |  |  | % This allows hyperlinks in PDF | 
| 79 |  |  | % hyperref package and colors for hyperref package | 
| 80 |  |  | \usepackage{color} | 
| 81 |  |  | \usepackage[dvips]{hyperref} | 
| 82 |  |  | \definecolor{darkgreen}{rgb}{0,0.4,0} | 
| 83 |  |  | \definecolor{darkblue}{rgb}{0,0,0.4} | 
| 84 |  |  | \definecolor{darkred}{rgb}{0.5,0,0} | 
| 85 |  |  | \hypersetup{breaklinks=true, | 
| 86 |  |  | colorlinks=true, | 
| 87 |  |  | linkcolor=darkgreen, | 
| 88 |  |  | citecolor=darkblue, | 
| 89 |  |  | pagecolor=darkred, | 
| 90 |  |  | pdftitle={MITgcm Release 1 Documentation}, | 
| 91 | edhill | 1.15 | pdfauthor={MITgcm-support@mitgcm.org}, | 
| 92 | adcroft | 1.11 | pdfkeywords={oceanography, ocean model, general circulation model, | 
| 93 |  |  | non-hydrostatic, finite volume, inverse methods, adjoint method} | 
| 94 |  |  | } | 
| 95 | molod | 1.17 |  | 
| 96 |  |  | % Some definitions (AMM) | 
| 97 |  |  | \def\p#1{{\partial \over {\partial #1}}} | 
| 98 |  |  | \def\pp#1#2{{\partial #1 \over {\partial #2}}} | 
| 99 |  |  | \def\dd#1#2{{d #1 \over {d #2}}} | 
| 100 |  |  | \def\bq{\begin{equation}} | 
| 101 |  |  | \def\bqa{\begin{eqnarray}} | 
| 102 |  |  | \def\eq{\end{equation}} | 
| 103 |  |  | \def\eqa{\end{eqnarray}} | 
| 104 |  |  |  | 
| 105 |  |  | \def\h{ {1\over2} } | 
| 106 |  |  | \def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}} | 
| 107 |  |  | \def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}} | 
| 108 |  |  |  | 
| 109 |  |  | \def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage} | 
| 110 |  |  |  | 
| 111 | adcroft | 1.1 |  | 
| 112 |  |  | \begin{document} | 
| 113 | cnh | 1.9 |  | 
| 114 |  |  | \bodytext{bgcolor="#FFFFFFFF"} | 
| 115 | adcroft | 1.1 |  | 
| 116 |  |  | \tableofcontents | 
| 117 | adcroft | 1.10 | %\pagebreak | 
| 118 | adcroft | 1.1 |  | 
| 119 | adcroft | 1.10 | %\part{MIT GCM basics} | 
| 120 | adcroft | 1.3 |  | 
| 121 |  |  | % Section: Overview | 
| 122 | adcroft | 1.1 | \input{part1/part1} | 
| 123 | adcroft | 1.8 | %\pagebreak | 
| 124 | adcroft | 1.1 |  | 
| 125 | adcroft | 1.3 | % Section: Discretization and Algorithm | 
| 126 | adcroft | 1.1 | \input{part2/part2} | 
| 127 | adcroft | 1.8 | %\pagebreak | 
| 128 | adcroft | 1.1 |  | 
| 129 | adcroft | 1.3 | % Section: Getting started | 
| 130 | adcroft | 1.1 | \input{part3/part3} | 
| 131 | adcroft | 1.8 | %\pagebreak | 
| 132 | adcroft | 1.1 |  | 
| 133 | adcroft | 1.3 | % Section: Software Architecture | 
| 134 | adcroft | 1.1 | \input{part4/part4} | 
| 135 | adcroft | 1.8 | %\pagebreak | 
| 136 | adcroft | 1.1 |  | 
| 137 | adcroft | 1.3 |  | 
| 138 | adcroft | 1.10 | %\part{Adjoint of the MIT GCM} | 
| 139 | adcroft | 1.3 |  | 
| 140 |  |  | % Section: Automatic Differentiation | 
| 141 | adcroft | 1.1 | \input{part5/part5} | 
| 142 | adcroft | 1.8 | %\pagebreak | 
| 143 | adcroft | 1.1 |  | 
| 144 | adcroft | 1.3 |  | 
| 145 | adcroft | 1.10 | %\part{Additional features} | 
| 146 | adcroft | 1.3 |  | 
| 147 |  |  | % Section: Physical Packages | 
| 148 | adcroft | 1.1 | \input{part6/part6} | 
| 149 | adcroft | 1.8 | %\pagebreak | 
| 150 | adcroft | 1.1 |  | 
| 151 | adcroft | 1.3 | % Section: Diagnostics | 
| 152 | adcroft | 1.1 | \input{part7/part7} | 
| 153 | adcroft | 1.14 | %\pagebreak | 
| 154 |  |  |  | 
| 155 |  |  | % Section: ECCO | 
| 156 |  |  | \input{part8/part8} | 
| 157 | adcroft | 1.8 | %\pagebreak | 
| 158 | adcroft | 1.1 |  | 
| 159 | heimbach | 1.5 | % Section: References: | 
| 160 | adcroft | 1.10 | %\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} | 
| 161 | heimbach | 1.6 | \addcontentsline{toc}{chapter}{BIBLIOGRAPHY} | 
| 162 | adcroft | 1.10 | %aja%\bibliography{\BIBPATH/manual_references} | 
| 163 |  |  | \bibliography{manual_references} | 
| 164 | heimbach | 1.6 |  | 
| 165 | adcroft | 1.1 | \end{document} |