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