1 |
% $Header: /u/u3/gcmpack/manual/manual.tex,v 1.20 2004/02/12 03:35:05 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{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 |
\newcommand{\varlink}[2]{ |
22 |
\htmladdnormallink{\tt #1}{../code_reference/vdb/byname/#2.html} |
23 |
} |
24 |
\newcommand{\filelink}[2]{ |
25 |
\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} |
26 |
} |
27 |
|
28 |
%eh3 try out the epsfig package |
29 |
\usepackage[dvips]{epsfig} |
30 |
\def\scalefig#1{\epsfxsize #1\textwidth} |
31 |
|
32 |
|
33 |
%ph%\usepackage{epsfig} |
34 |
%ph%\usepackage{psfrag} |
35 |
%ph%\usepackage{oldgerm} |
36 |
|
37 |
% I commented the following because it introduced excessive white space |
38 |
%aja%\usepackage{palatcm} % better PDF |
39 |
|
40 |
% page headers and footers |
41 |
%cnh%\usepackage{fancyhdr} |
42 |
%\pagestyle{fancy} |
43 |
%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 |
|
52 |
% bibtex stuff |
53 |
%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 |
|
61 |
% referencing |
62 |
%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 |
|
69 |
% stuff for psfrag |
70 |
%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
71 |
%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
72 |
|
73 |
% This allows numbering of subsubsections |
74 |
\setcounter{secnumdepth}{3} |
75 |
% This changes the the chapter title |
76 |
%\renewcommand{\chaptername}{Section} |
77 |
|
78 |
|
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 |
pdfauthor={MITgcm-support@mitgcm.org}, |
93 |
pdfkeywords={oceanography, ocean model, general circulation model, |
94 |
non-hydrostatic, finite volume, inverse methods, adjoint method} |
95 |
} |
96 |
|
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 |
|
113 |
\begin{document} |
114 |
|
115 |
\bodytext{bgcolor="#FFFFFFFF"} |
116 |
|
117 |
\tableofcontents |
118 |
%\pagebreak |
119 |
|
120 |
%\part{MIT GCM basics} |
121 |
|
122 |
% Section: Overview |
123 |
\input{part1/part1} |
124 |
%\pagebreak |
125 |
|
126 |
% Section: Discretization and Algorithm |
127 |
\input{part2/part2} |
128 |
%\pagebreak |
129 |
|
130 |
% Section: Getting started |
131 |
\input{part3/part3} |
132 |
%\pagebreak |
133 |
|
134 |
% Section: Software Architecture |
135 |
\input{part4/part4} |
136 |
%\pagebreak |
137 |
|
138 |
|
139 |
%\part{Adjoint of the MIT GCM} |
140 |
|
141 |
% Section: Automatic Differentiation |
142 |
\input{part5/part5} |
143 |
%\pagebreak |
144 |
|
145 |
|
146 |
%\part{Additional features} |
147 |
|
148 |
% Section: Physical Packages |
149 |
\input{part6/part6} |
150 |
%\pagebreak |
151 |
|
152 |
% Section: Diagnostics |
153 |
\input{part7/part7} |
154 |
%\pagebreak |
155 |
|
156 |
% Section: ECCO |
157 |
\input{part8/part8} |
158 |
%\pagebreak |
159 |
|
160 |
% Section: References: |
161 |
%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} |
162 |
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY} |
163 |
%aja%\bibliography{\BIBPATH/manual_references} |
164 |
\bibliography{manual_references} |
165 |
|
166 |
\end{document} |