1 |
molod |
1.17 |
% $Header: /u/u3/gcmpack/manual/manual.tex,v 1.16 2003/08/07 18:27:51 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 |
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 |
|
|
|
28 |
adcroft |
1.8 |
|
29 |
|
|
%ph%\usepackage{epsfig} |
30 |
|
|
%ph%\usepackage{psfrag} |
31 |
|
|
%ph%\usepackage{oldgerm} |
32 |
|
|
|
33 |
adcroft |
1.2 |
% I commented the following because it introduced excessive white space |
34 |
adcroft |
1.8 |
%aja%\usepackage{palatcm} % better PDF |
35 |
adcroft |
1.1 |
|
36 |
|
|
% page headers and footers |
37 |
adcroft |
1.8 |
%cnh%\usepackage{fancyhdr} |
38 |
adcroft |
1.2 |
%\pagestyle{fancy} |
39 |
adcroft |
1.8 |
%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 |
adcroft |
1.1 |
|
48 |
heimbach |
1.5 |
% bibtex stuff |
49 |
adcroft |
1.10 |
%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 |
heimbach |
1.5 |
|
57 |
adcroft |
1.1 |
% referencing |
58 |
adcroft |
1.8 |
%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 |
adcroft |
1.1 |
|
65 |
|
|
% stuff for psfrag |
66 |
adcroft |
1.8 |
%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
67 |
|
|
%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
68 |
adcroft |
1.1 |
|
69 |
adcroft |
1.3 |
% This allows numbering of subsubsections |
70 |
|
|
\setcounter{secnumdepth}{3} |
71 |
|
|
% This changes the the chapter title |
72 |
|
|
%\renewcommand{\chaptername}{Section} |
73 |
|
|
|
74 |
adcroft |
1.11 |
|
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 |
edhill |
1.15 |
pdfauthor={MITgcm-support@mitgcm.org}, |
89 |
adcroft |
1.11 |
pdfkeywords={oceanography, ocean model, general circulation model, |
90 |
|
|
non-hydrostatic, finite volume, inverse methods, adjoint method} |
91 |
|
|
} |
92 |
molod |
1.17 |
|
93 |
|
|
% Some definitions (AMM) |
94 |
|
|
\def\p#1{{\partial \over {\partial #1}}} |
95 |
|
|
\def\pp#1#2{{\partial #1 \over {\partial #2}}} |
96 |
|
|
\def\dd#1#2{{d #1 \over {d #2}}} |
97 |
|
|
\def\bq{\begin{equation}} |
98 |
|
|
\def\bqa{\begin{eqnarray}} |
99 |
|
|
\def\eq{\end{equation}} |
100 |
|
|
\def\eqa{\end{eqnarray}} |
101 |
|
|
|
102 |
|
|
\def\h{ {1\over2} } |
103 |
|
|
\def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}} |
104 |
|
|
\def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}} |
105 |
|
|
|
106 |
|
|
\def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage} |
107 |
|
|
|
108 |
adcroft |
1.1 |
|
109 |
|
|
\begin{document} |
110 |
cnh |
1.9 |
|
111 |
|
|
\bodytext{bgcolor="#FFFFFFFF"} |
112 |
adcroft |
1.1 |
|
113 |
|
|
\tableofcontents |
114 |
adcroft |
1.10 |
%\pagebreak |
115 |
adcroft |
1.1 |
|
116 |
adcroft |
1.10 |
%\part{MIT GCM basics} |
117 |
adcroft |
1.3 |
|
118 |
|
|
% Section: Overview |
119 |
adcroft |
1.1 |
\input{part1/part1} |
120 |
adcroft |
1.8 |
%\pagebreak |
121 |
adcroft |
1.1 |
|
122 |
adcroft |
1.3 |
% Section: Discretization and Algorithm |
123 |
adcroft |
1.1 |
\input{part2/part2} |
124 |
adcroft |
1.8 |
%\pagebreak |
125 |
adcroft |
1.1 |
|
126 |
adcroft |
1.3 |
% Section: Getting started |
127 |
adcroft |
1.1 |
\input{part3/part3} |
128 |
adcroft |
1.8 |
%\pagebreak |
129 |
adcroft |
1.1 |
|
130 |
adcroft |
1.3 |
% Section: Software Architecture |
131 |
adcroft |
1.1 |
\input{part4/part4} |
132 |
adcroft |
1.8 |
%\pagebreak |
133 |
adcroft |
1.1 |
|
134 |
adcroft |
1.3 |
|
135 |
adcroft |
1.10 |
%\part{Adjoint of the MIT GCM} |
136 |
adcroft |
1.3 |
|
137 |
|
|
% Section: Automatic Differentiation |
138 |
adcroft |
1.1 |
\input{part5/part5} |
139 |
adcroft |
1.8 |
%\pagebreak |
140 |
adcroft |
1.1 |
|
141 |
adcroft |
1.3 |
|
142 |
adcroft |
1.10 |
%\part{Additional features} |
143 |
adcroft |
1.3 |
|
144 |
|
|
% Section: Physical Packages |
145 |
adcroft |
1.1 |
\input{part6/part6} |
146 |
adcroft |
1.8 |
%\pagebreak |
147 |
adcroft |
1.1 |
|
148 |
adcroft |
1.3 |
% Section: Diagnostics |
149 |
adcroft |
1.1 |
\input{part7/part7} |
150 |
adcroft |
1.14 |
%\pagebreak |
151 |
|
|
|
152 |
|
|
% Section: ECCO |
153 |
|
|
\input{part8/part8} |
154 |
adcroft |
1.8 |
%\pagebreak |
155 |
adcroft |
1.1 |
|
156 |
heimbach |
1.5 |
% Section: References: |
157 |
adcroft |
1.10 |
%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} |
158 |
heimbach |
1.6 |
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY} |
159 |
adcroft |
1.10 |
%aja%\bibliography{\BIBPATH/manual_references} |
160 |
|
|
\bibliography{manual_references} |
161 |
heimbach |
1.6 |
|
162 |
adcroft |
1.1 |
\end{document} |