This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manual.tex
265 lines (214 loc) · 7.13 KB
/
manual.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
% $Header: /u/gcmpack/manual/manual.tex,v 1.47 2017/06/19 20:07:25 jmc Exp $
% $Name: $
\documentclass[10pt]{book}
%To help cross-reference
%\usepackage{showlabels}
%aja%\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{html}
\usepackage{hthtml}
\usepackage{graphicx}
\usepackage{rotating}
% CNH playing around with page widths
\usepackage{anysize}
%cnh%\usepackage{array}
%cnh%\usepackage{multirow}
%eh3 Commands to reference either files or symbols within the "HTML-ized"
%eh3 ("vdb") code.
%eh3
%afe seems like these need to be long, sorry
\newcommand{\varlink}[2]{\htmladdnormallink{\tt #1}{../code_reference/vdb/byname/#2.html}}
\newcommand{\filelink}[2]{\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html}}
\newcommand{\myhref}[2]{\htmladdnormallink{#2}{#1}}
% afe Commands to standardize typesetting
\newcommand{\file}[1]{\texttt{#1}}
\newcommand{\sectiontitle}[1]{\textsl{#1}}
\newcommand{\code}[1]{\texttt{#1}}
%% EH3 : try out the epsfig package
\usepackage[dvips]{epsfig}
\def\scalefig#1{\epsfxsize #1\textwidth}
%EH3% ==========================================================
%EH3% *** PRIVATE SECTIONS ****** PRIVATE SECTIONS ***
%EH3%
%EH3% Directions: To build the ``private'' or ``local-only''
%EH3% version of this manual, then edit the following so
%EH3% they appear as:
%EH3%
%EH3% % \includecomment{versionprivate}
%EH3% \excludecoment{versionprivate}
%EH3%
%EH3% The default is to include everything which is:
%EH3%
%EH3% \includecomment{versionprivate}
%EH3% % \excludecoment{versionprivate}
%\includecomment{versionprivate}
\excludecomment{versionprivate}
%EH3%
%EH3% To use this comment, simply bracket any part of the
%EH3% manual with two lines that contain ONLY the following
%EH3% pair:
%EH3%
%EH3% \begin{versionprivate}
%EH3% \end{versionprivate}
%EH3%
%EH3% with NO additional comments or other commands on the
%EH3% lines containing the \begin{...}\end{...} statements.
%EH3%
%EH3% *** PRIVATE SECTIONS ****** PRIVATE SECTIONS ***
%EH3% ==========================================================
%ph%\usepackage{epsfig}
%ph%\usepackage{psfrag}
%ph%\usepackage{oldgerm}
% I commented the following because it introduced excessive white space
%aja%\usepackage{palatcm} % better PDF
% page headers and footers
%cnh%\usepackage{fancyhdr}
%\pagestyle{fancy}
%cnh%\fancyhead{}
%cnh%\fancyhead[LO]{\slshape \rightmark}
%cnh%\fancyhead[RE]{\slshape \leftmark}
%cnh%\fancyhead[RO,LE]{\thepage}
%cnh%\fancyfoot[CO,CE]{\today}
%cnh%\fancyfoot[RO,LE]{ }
%cnh%\renewcommand{\headrulewidth}{0.4pt}
%cnh%\renewcommand{\footrulewidth}{0.4pt}
% bibtex stuff
%aja%\newcommand{\BIBPATH}{.}
%aja%\usepackage{natbib}
%aja%\bibliographystyle{\BIBPATH/jmr_my}
%aja%\gdef\harvardleft{[}
%aja%\gdef\harvardright{]}
%aja%\bibpunct{[}{]}{,}{a}{}{,}
%\bibliographystyle{plain}
%-jmc: try agu bib-style (give author names & year instead of just a number)
%% \usepackage[square]
\usepackage[square]{natbib}
\bibliographystyle{agu}
%% \bibliographystyle{aguurl}
% referencing
%ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})}
%ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})}
%ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}}
%ph%\newcommand{\reftabno}[1]{\ref{tab:#1}}
%ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}}
%ph%\newcommand{\reffigno}[1]{\ref{fig:#1}}
% stuff for psfrag
%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}}
%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}}
% This allows numbering of subsubsections
\setcounter{secnumdepth}{3}
% This changes the the chapter title
%\renewcommand{\chaptername}{Section}
% This allows hyperlinks in PDF
% hyperref package and colors for hyperref package
\usepackage{color}
\usepackage{hyperref}
%\usepackage[dvips]
\definecolor{darkgreen}{rgb}{0,0.4,0}
\definecolor{darkblue}{rgb}{0,0,0.4}
\definecolor{darkred}{rgb}{0.5,0,0}
\hypersetup{breaklinks=true,
colorlinks=true,
linkcolor=darkgreen,
citecolor=darkblue,
pagecolor=darkred,
pdftitle={MITgcm Documentation},
pdfauthor={[email protected]},
pdfkeywords={oceanography, ocean model, general circulation model,
non-hydrostatic, finite volume, inverse methods, adjoint method}
}
% Some definitions (AMM)
\def\p#1{\frac{\partial }{\partial #1}}
\def\pp#1#2{\frac{\partial #1}{\partial #2}}
\def\dd#1#2{\frac{d #1}{d #2}}
\def\bq{\begin{equation}}
\def\bqa{\begin{eqnarray}}
\def\eq{\end{equation}}
\def\eqa{\end{eqnarray}}
\def\h{ \frac{1}{2} }
\def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}}
\def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}}
\def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage}
% Some definitions modified from the ones provided by Baylor
\def\BFKav#1{\overline{#1}}
\def\BFKpd#1#2{{\frac{\partial{#2}}{\partial{#1}}}}
\def\BFKpds#1#2{{\frac{\partial^2{#2}}{{\partial{#1}}^2}}}
\def\BFKDt#1{\frac{D{#1}}{Dt}}
\def\BFKaDt#1{\frac{\BFKav D{#1}}{\BFKav{Dt}}}
\def\BFKd#1{{\,\rm d#1}}
\def\BFKRo{{\rm Ro}}
\def\BFKRe{{\rm Re}}
\def\BFKFr{{\rm Fr}}
\def\BFKPr{{\rm Pr}}
\def\BFKMr{{M_{Ro}}}
\def\BFKtu{{\tilde u}}
\def\BFKtv{{\tilde v}}
\def\BFKatu{{\tilde {\BFKav u}}}
\def\BFKatv{{\tilde {\BFKav v}}}
\def\BFKlesssim{{<\atop\sim}}
% Definitions from EH3:
\def\CC{C\raise.3ex\hbox{{\footnotesize
+}}\raise.3ex\hbox{\footnotesize +}\ }
\begin{document}
\bodytext{bgcolor="#FFFFFFFF"}
\title{ \textsc{MITgcm User Manual} }
\author{
Alistair Adcroft \and Jean-Michel Campin \and Stephanie Dutkiewicz
\and Constantinos Evangelinos \and David Ferreira %\and Mick Follows
\and Gael Forget \and Baylor Fox-Kemper \and Patrick Heimbach
\and Chris Hill \and Ed Hill \and Helen Hill
\and Oliver Jahn \and Martin Losch \and John Marshall
\and Guillaume Maze \and Dimitris Menemenlis \and Andrea Molod
\\
\\
\\
MIT Department of EAPS \\
77 Massachusetts Ave. \\
Cambridge, MA \ 02139-4307
}
%\date{August 19, 2004}
\date{\today}
\maketitle
\tableofcontents
%\pagebreak
%\part{MIT GCM basics}
% Section: Overview of MITgcm
\input{s_overview/text/top_section}
%\pagebreak
% Section: Discretization and Algorithm
\input{s_algorithm/text/top_section}
%\pagebreak
% Section: Getting started with MITgcm
\input{s_getstarted/text/top_section}
%\pagebreak
% Section: Model Example <- not yet a section
\input{s_examples/text/top_section}
%\pagebreak
% Section: Software Architecture
\input{s_software/text/top_section}
%\pagebreak
%\part{Adjoint of the MIT GCM}
% Section: Automatic Differentiation
\input{s_autodiff/text/top_section}
%\pagebreak
%\part{Additional features}
% Section: Physical Parameterization - Packages I
\input{s_phys_pkgs/text/top_section}
%\pagebreak
% Section: Diagnostics and I/O - Packages II, and Post-Processing Utilities
\input{s_outp_pkgs/text/top_section}
%\pagebreak
% Section: Interface with ECCO
\input{s_ecco/text/top_section}
%\pagebreak
% Section: Under Development
\input{s_under_dvlp/text/top_section}
% Section: Previous applications of MITgcm
\input{model_uses}
%\pagebreak
% Section: References:
%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY}
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY}
%aja%\bibliography{\BIBPATH/manual_references}
\bibliography{manual_references,baylor_biblio}
\end{document}