| 1 | % $Header: /u/u3/gcmpack/manual/manual.tex,v 1.15 2003/07/30 13:42:52 edhill Exp $ | 
| 2 | % $Name:  $ | 
| 3 |  | 
| 4 | \documentclass[12pt]{book} | 
| 5 |  | 
| 6 | %To help cross-reference | 
| 7 | %\usepackage{showlabels} | 
| 8 |  | 
| 9 | %aja%\usepackage{amsfonts} | 
| 10 | \usepackage{amsmath} | 
| 11 | \usepackage{html} | 
| 12 | \usepackage{graphicx} | 
| 13 |  | 
| 14 | %cnh%\usepackage{array} | 
| 15 | %cnh%\usepackage{multirow} | 
| 16 |  | 
| 17 | %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 | } | 
| 23 | \newcommand{\varlink}[2]{ | 
| 24 | \htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} | 
| 25 | } | 
| 26 |  | 
| 27 |  | 
| 28 |  | 
| 29 | %ph%\usepackage{epsfig} | 
| 30 | %ph%\usepackage{psfrag} | 
| 31 | %ph%\usepackage{oldgerm} | 
| 32 |  | 
| 33 | % I commented the following because it introduced excessive white space | 
| 34 | %aja%\usepackage{palatcm}              % better PDF | 
| 35 |  | 
| 36 | % page headers and footers | 
| 37 | %cnh%\usepackage{fancyhdr} | 
| 38 | %\pagestyle{fancy} | 
| 39 | %cnh%\fancyhead{} | 
| 40 | %cnh%\fancyhead[LO]{\slshape \rightmark} | 
| 41 | %cnh%\fancyhead[RE]{\slshape \leftmark} | 
| 42 | %cnh%\fancyhead[RO,LE]{\thepage} | 
| 43 | %cnh%\fancyfoot[CO,CE]{\today} | 
| 44 | %cnh%\fancyfoot[RO,LE]{ } | 
| 45 | %cnh%\renewcommand{\headrulewidth}{0.4pt} | 
| 46 | %cnh%\renewcommand{\footrulewidth}{0.4pt} | 
| 47 |  | 
| 48 | % bibtex stuff | 
| 49 | %aja%\newcommand{\BIBPATH}{.} | 
| 50 | %aja%\usepackage{natbib} | 
| 51 | %aja%\bibliographystyle{\BIBPATH/jmr_my} | 
| 52 | %aja%\gdef\harvardleft{[} | 
| 53 | %aja%\gdef\harvardright{]} | 
| 54 | %aja%\bibpunct{[}{]}{,}{a}{}{,} | 
| 55 | \bibliographystyle{plain} | 
| 56 |  | 
| 57 | % referencing | 
| 58 | %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} | 
| 59 | %ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} | 
| 60 | %ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} | 
| 61 | %ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} | 
| 62 | %ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} | 
| 63 | %ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} | 
| 64 |  | 
| 65 | % stuff for psfrag | 
| 66 | %ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} | 
| 67 | %ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} | 
| 68 |  | 
| 69 | % This allows numbering of subsubsections | 
| 70 | \setcounter{secnumdepth}{3} | 
| 71 | % This changes the the chapter title | 
| 72 | %\renewcommand{\chaptername}{Section} | 
| 73 |  | 
| 74 |  | 
| 75 | % This allows hyperlinks in PDF | 
| 76 | % hyperref package and colors for hyperref package | 
| 77 | \usepackage{color} | 
| 78 | \usepackage[dvips]{hyperref} | 
| 79 | \definecolor{darkgreen}{rgb}{0,0.4,0} | 
| 80 | \definecolor{darkblue}{rgb}{0,0,0.4} | 
| 81 | \definecolor{darkred}{rgb}{0.5,0,0} | 
| 82 | \hypersetup{breaklinks=true, | 
| 83 | colorlinks=true, | 
| 84 | linkcolor=darkgreen, | 
| 85 | citecolor=darkblue, | 
| 86 | pagecolor=darkred, | 
| 87 | pdftitle={MITgcm Release 1 Documentation}, | 
| 88 | pdfauthor={MITgcm-support@mitgcm.org}, | 
| 89 | pdfkeywords={oceanography, ocean model, general circulation model, | 
| 90 | non-hydrostatic, finite volume, inverse methods, adjoint method} | 
| 91 | } | 
| 92 |  | 
| 93 | \begin{document} | 
| 94 |  | 
| 95 | \bodytext{bgcolor="#FFFFFFFF"} | 
| 96 |  | 
| 97 | \tableofcontents | 
| 98 | %\pagebreak | 
| 99 |  | 
| 100 | %\part{MIT GCM basics} | 
| 101 |  | 
| 102 | % Section: Overview | 
| 103 | \input{part1/part1} | 
| 104 | %\pagebreak | 
| 105 |  | 
| 106 | % Section: Discretization and Algorithm | 
| 107 | \input{part2/part2} | 
| 108 | %\pagebreak | 
| 109 |  | 
| 110 | % Section: Getting started | 
| 111 | \input{part3/part3} | 
| 112 | %\pagebreak | 
| 113 |  | 
| 114 | % Section: Software Architecture | 
| 115 | \input{part4/part4} | 
| 116 | %\pagebreak | 
| 117 |  | 
| 118 |  | 
| 119 | %\part{Adjoint of the MIT GCM} | 
| 120 |  | 
| 121 | % Section: Automatic Differentiation | 
| 122 | \input{part5/part5} | 
| 123 | %\pagebreak | 
| 124 |  | 
| 125 |  | 
| 126 | %\part{Additional features} | 
| 127 |  | 
| 128 | % Section: Physical Packages | 
| 129 | \input{part6/part6} | 
| 130 | %\pagebreak | 
| 131 |  | 
| 132 | % Section: Diagnostics | 
| 133 | \input{part7/part7} | 
| 134 | %\pagebreak | 
| 135 |  | 
| 136 | % Section: ECCO | 
| 137 | \input{part8/part8} | 
| 138 | %\pagebreak | 
| 139 |  | 
| 140 | % Section: References: | 
| 141 | %\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} | 
| 142 | \addcontentsline{toc}{chapter}{BIBLIOGRAPHY} | 
| 143 | %aja%\bibliography{\BIBPATH/manual_references} | 
| 144 | \bibliography{manual_references} | 
| 145 |  | 
| 146 | \end{document} |