| 1 |
edhill |
1.21 |
% $Header: /u/u3/gcmpack/manual/manual.tex,v 1.20 2004/02/12 03:35:05 edhill 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 |
cnh |
1.19 |
\usepackage{hthtml} |
| 13 |
adcroft |
1.10 |
\usepackage{graphicx} |
| 14 |
adcroft |
1.8 |
|
| 15 |
|
|
%cnh%\usepackage{array} |
| 16 |
|
|
%cnh%\usepackage{multirow} |
| 17 |
cnh |
1.12 |
|
| 18 |
edhill |
1.16 |
%eh3 Commands to reference either files or symbols within the "HTML-ized" |
| 19 |
|
|
%eh3 ("vdb") code. |
| 20 |
|
|
%eh3 |
| 21 |
edhill |
1.20 |
\newcommand{\varlink}[2]{ |
| 22 |
edhill |
1.21 |
\htmladdnormallink{\tt #1}{../code_reference/vdb/byname/#2.html} |
| 23 |
cnh |
1.12 |
} |
| 24 |
edhill |
1.20 |
\newcommand{\filelink}[2]{ |
| 25 |
edhill |
1.16 |
\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} |
| 26 |
cnh |
1.12 |
} |
| 27 |
|
|
|
| 28 |
edhill |
1.18 |
%eh3 try out the epsfig package |
| 29 |
|
|
\usepackage[dvips]{epsfig} |
| 30 |
|
|
\def\scalefig#1{\epsfxsize #1\textwidth} |
| 31 |
cnh |
1.12 |
|
| 32 |
adcroft |
1.8 |
|
| 33 |
|
|
%ph%\usepackage{epsfig} |
| 34 |
|
|
%ph%\usepackage{psfrag} |
| 35 |
|
|
%ph%\usepackage{oldgerm} |
| 36 |
|
|
|
| 37 |
adcroft |
1.2 |
% I commented the following because it introduced excessive white space |
| 38 |
adcroft |
1.8 |
%aja%\usepackage{palatcm} % better PDF |
| 39 |
adcroft |
1.1 |
|
| 40 |
|
|
% page headers and footers |
| 41 |
adcroft |
1.8 |
%cnh%\usepackage{fancyhdr} |
| 42 |
adcroft |
1.2 |
%\pagestyle{fancy} |
| 43 |
adcroft |
1.8 |
%cnh%\fancyhead{} |
| 44 |
|
|
%cnh%\fancyhead[LO]{\slshape \rightmark} |
| 45 |
|
|
%cnh%\fancyhead[RE]{\slshape \leftmark} |
| 46 |
|
|
%cnh%\fancyhead[RO,LE]{\thepage} |
| 47 |
|
|
%cnh%\fancyfoot[CO,CE]{\today} |
| 48 |
|
|
%cnh%\fancyfoot[RO,LE]{ } |
| 49 |
|
|
%cnh%\renewcommand{\headrulewidth}{0.4pt} |
| 50 |
|
|
%cnh%\renewcommand{\footrulewidth}{0.4pt} |
| 51 |
adcroft |
1.1 |
|
| 52 |
heimbach |
1.5 |
% bibtex stuff |
| 53 |
adcroft |
1.10 |
%aja%\newcommand{\BIBPATH}{.} |
| 54 |
|
|
%aja%\usepackage{natbib} |
| 55 |
|
|
%aja%\bibliographystyle{\BIBPATH/jmr_my} |
| 56 |
|
|
%aja%\gdef\harvardleft{[} |
| 57 |
|
|
%aja%\gdef\harvardright{]} |
| 58 |
|
|
%aja%\bibpunct{[}{]}{,}{a}{}{,} |
| 59 |
|
|
\bibliographystyle{plain} |
| 60 |
heimbach |
1.5 |
|
| 61 |
adcroft |
1.1 |
% referencing |
| 62 |
adcroft |
1.8 |
%ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} |
| 63 |
|
|
%ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} |
| 64 |
|
|
%ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} |
| 65 |
|
|
%ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} |
| 66 |
|
|
%ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} |
| 67 |
|
|
%ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} |
| 68 |
adcroft |
1.1 |
|
| 69 |
|
|
% stuff for psfrag |
| 70 |
adcroft |
1.8 |
%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
| 71 |
|
|
%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
| 72 |
adcroft |
1.1 |
|
| 73 |
adcroft |
1.3 |
% This allows numbering of subsubsections |
| 74 |
|
|
\setcounter{secnumdepth}{3} |
| 75 |
|
|
% This changes the the chapter title |
| 76 |
|
|
%\renewcommand{\chaptername}{Section} |
| 77 |
|
|
|
| 78 |
adcroft |
1.11 |
|
| 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 |
edhill |
1.15 |
pdfauthor={MITgcm-support@mitgcm.org}, |
| 93 |
adcroft |
1.11 |
pdfkeywords={oceanography, ocean model, general circulation model, |
| 94 |
|
|
non-hydrostatic, finite volume, inverse methods, adjoint method} |
| 95 |
|
|
} |
| 96 |
molod |
1.17 |
|
| 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 |
adcroft |
1.1 |
|
| 113 |
|
|
\begin{document} |
| 114 |
cnh |
1.9 |
|
| 115 |
|
|
\bodytext{bgcolor="#FFFFFFFF"} |
| 116 |
adcroft |
1.1 |
|
| 117 |
|
|
\tableofcontents |
| 118 |
adcroft |
1.10 |
%\pagebreak |
| 119 |
adcroft |
1.1 |
|
| 120 |
adcroft |
1.10 |
%\part{MIT GCM basics} |
| 121 |
adcroft |
1.3 |
|
| 122 |
|
|
% Section: Overview |
| 123 |
adcroft |
1.1 |
\input{part1/part1} |
| 124 |
adcroft |
1.8 |
%\pagebreak |
| 125 |
adcroft |
1.1 |
|
| 126 |
adcroft |
1.3 |
% Section: Discretization and Algorithm |
| 127 |
adcroft |
1.1 |
\input{part2/part2} |
| 128 |
adcroft |
1.8 |
%\pagebreak |
| 129 |
adcroft |
1.1 |
|
| 130 |
adcroft |
1.3 |
% Section: Getting started |
| 131 |
adcroft |
1.1 |
\input{part3/part3} |
| 132 |
adcroft |
1.8 |
%\pagebreak |
| 133 |
adcroft |
1.1 |
|
| 134 |
adcroft |
1.3 |
% Section: Software Architecture |
| 135 |
adcroft |
1.1 |
\input{part4/part4} |
| 136 |
adcroft |
1.8 |
%\pagebreak |
| 137 |
adcroft |
1.1 |
|
| 138 |
adcroft |
1.3 |
|
| 139 |
adcroft |
1.10 |
%\part{Adjoint of the MIT GCM} |
| 140 |
adcroft |
1.3 |
|
| 141 |
|
|
% Section: Automatic Differentiation |
| 142 |
adcroft |
1.1 |
\input{part5/part5} |
| 143 |
adcroft |
1.8 |
%\pagebreak |
| 144 |
adcroft |
1.1 |
|
| 145 |
adcroft |
1.3 |
|
| 146 |
adcroft |
1.10 |
%\part{Additional features} |
| 147 |
adcroft |
1.3 |
|
| 148 |
|
|
% Section: Physical Packages |
| 149 |
adcroft |
1.1 |
\input{part6/part6} |
| 150 |
adcroft |
1.8 |
%\pagebreak |
| 151 |
adcroft |
1.1 |
|
| 152 |
adcroft |
1.3 |
% Section: Diagnostics |
| 153 |
adcroft |
1.1 |
\input{part7/part7} |
| 154 |
adcroft |
1.14 |
%\pagebreak |
| 155 |
|
|
|
| 156 |
|
|
% Section: ECCO |
| 157 |
|
|
\input{part8/part8} |
| 158 |
adcroft |
1.8 |
%\pagebreak |
| 159 |
adcroft |
1.1 |
|
| 160 |
heimbach |
1.5 |
% Section: References: |
| 161 |
adcroft |
1.10 |
%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} |
| 162 |
heimbach |
1.6 |
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY} |
| 163 |
adcroft |
1.10 |
%aja%\bibliography{\BIBPATH/manual_references} |
| 164 |
|
|
\bibliography{manual_references} |
| 165 |
heimbach |
1.6 |
|
| 166 |
adcroft |
1.1 |
\end{document} |