3 |
|
|
4 |
\documentclass[12pt]{book} |
\documentclass[12pt]{book} |
5 |
|
|
6 |
\usepackage{amsfonts} |
%To help cross-reference |
7 |
|
%\usepackage{showlabels} |
8 |
|
|
9 |
|
%aja%\usepackage{amsfonts} |
10 |
\usepackage{amsmath} |
\usepackage{amsmath} |
11 |
\usepackage{html} |
\usepackage{html} |
12 |
\usepackage{epsfig} |
\usepackage{graphicx} |
13 |
\usepackage{graphics,subfigure} |
|
14 |
\usepackage{array} |
%cnh%\usepackage{array} |
15 |
\usepackage{multirow} |
%cnh%\usepackage{multirow} |
16 |
\usepackage{fancyhdr} |
|
17 |
\usepackage{psfrag} |
%eh3 Commands to reference either files or symbols within the "HTML-ized" |
18 |
%\usepackage{oldgerm} |
%eh3 ("vdb") code. |
19 |
|
%eh3 |
20 |
|
\newcommand{\filelink}[2]{ |
21 |
|
\htmladdnormallink{\em #1()}{../code_reference/vdb/byname/#2.html} |
22 |
|
} |
23 |
|
\newcommand{\varlink}[2]{ |
24 |
|
\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} |
25 |
|
} |
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
%ph%\usepackage{epsfig} |
30 |
|
%ph%\usepackage{psfrag} |
31 |
|
%ph%\usepackage{oldgerm} |
32 |
|
|
33 |
% I commented the following because it introduced excessive white space |
% I commented the following because it introduced excessive white space |
34 |
%\usepackage{palatcm} % better PDF |
%aja%\usepackage{palatcm} % better PDF |
35 |
|
|
36 |
% page headers and footers |
% page headers and footers |
37 |
|
%cnh%\usepackage{fancyhdr} |
38 |
%\pagestyle{fancy} |
%\pagestyle{fancy} |
39 |
\fancyhead{} |
%cnh%\fancyhead{} |
40 |
\fancyhead[LO]{\slshape \rightmark} |
%cnh%\fancyhead[LO]{\slshape \rightmark} |
41 |
\fancyhead[RE]{\slshape \leftmark} |
%cnh%\fancyhead[RE]{\slshape \leftmark} |
42 |
\fancyhead[RO,LE]{\thepage} |
%cnh%\fancyhead[RO,LE]{\thepage} |
43 |
\fancyfoot[CO,CE]{\today} |
%cnh%\fancyfoot[CO,CE]{\today} |
44 |
\fancyfoot[RO,LE]{ } |
%cnh%\fancyfoot[RO,LE]{ } |
45 |
\renewcommand{\headrulewidth}{0.4pt} |
%cnh%\renewcommand{\headrulewidth}{0.4pt} |
46 |
\renewcommand{\footrulewidth}{0.4pt} |
%cnh%\renewcommand{\footrulewidth}{0.4pt} |
47 |
|
|
48 |
|
% bibtex stuff |
49 |
|
%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 |
|
|
57 |
% referencing |
% referencing |
58 |
\newcommand{\refequ}[1]{equation (\ref{equ:#1})} |
%ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} |
59 |
\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} |
%ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} |
60 |
\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} |
%ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} |
61 |
\newcommand{\reftabno}[1]{\ref{tab:#1}} |
%ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} |
62 |
\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} |
%ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} |
63 |
\newcommand{\reffigno}[1]{\ref{fig:#1}} |
%ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} |
64 |
|
|
65 |
% stuff for psfrag |
% stuff for psfrag |
66 |
\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
67 |
\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
68 |
|
|
69 |
% This allows numbering of subsubsections |
% This allows numbering of subsubsections |
70 |
\setcounter{secnumdepth}{3} |
\setcounter{secnumdepth}{3} |
71 |
% This changes the the chapter title |
% This changes the the chapter title |
72 |
%\renewcommand{\chaptername}{Section} |
%\renewcommand{\chaptername}{Section} |
73 |
|
|
74 |
\usepackage{showlabels} |
|
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 |
|
pdfauthor={MITgcm-support@mitgcm.org}, |
89 |
|
pdfkeywords={oceanography, ocean model, general circulation model, |
90 |
|
non-hydrostatic, finite volume, inverse methods, adjoint method} |
91 |
|
} |
92 |
|
|
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 |
|
|
109 |
\begin{document} |
\begin{document} |
110 |
|
|
111 |
|
\bodytext{bgcolor="#FFFFFFFF"} |
112 |
|
|
113 |
\tableofcontents |
\tableofcontents |
114 |
\pagebreak |
%\pagebreak |
115 |
|
|
116 |
\part{The MIT GCM basics} |
%\part{MIT GCM basics} |
117 |
|
|
118 |
% Section: Overview |
% Section: Overview |
119 |
\input{part1/part1} |
\input{part1/part1} |
120 |
\pagebreak |
%\pagebreak |
121 |
|
|
122 |
% Section: Discretization and Algorithm |
% Section: Discretization and Algorithm |
123 |
\input{part2/part2} |
\input{part2/part2} |
124 |
\pagebreak |
%\pagebreak |
125 |
|
|
126 |
% Section: Getting started |
% Section: Getting started |
127 |
\input{part3/part3} |
\input{part3/part3} |
128 |
\pagebreak |
%\pagebreak |
129 |
|
|
130 |
% Section: Software Architecture |
% Section: Software Architecture |
131 |
\input{part4/part4} |
\input{part4/part4} |
132 |
\pagebreak |
%\pagebreak |
133 |
|
|
134 |
|
|
135 |
\part{Adjoint of the MIT GCM} |
%\part{Adjoint of the MIT GCM} |
136 |
|
|
137 |
% Section: Automatic Differentiation |
% Section: Automatic Differentiation |
138 |
\input{part5/part5} |
\input{part5/part5} |
139 |
\pagebreak |
%\pagebreak |
140 |
|
|
141 |
|
|
142 |
\part{Additional features} |
%\part{Additional features} |
143 |
|
|
144 |
% Section: Physical Packages |
% Section: Physical Packages |
145 |
\input{part6/part6} |
\input{part6/part6} |
146 |
\pagebreak |
%\pagebreak |
147 |
|
|
148 |
% Section: Diagnostics |
% Section: Diagnostics |
149 |
\input{part7/part7} |
\input{part7/part7} |
150 |
\pagebreak |
%\pagebreak |
151 |
|
|
152 |
% Section: ECCO Interface |
% Section: ECCO |
153 |
\input{part8/part8} |
\input{part8/part8} |
154 |
|
%\pagebreak |
155 |
|
|
156 |
|
% Section: References: |
157 |
|
%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} |
158 |
|
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY} |
159 |
|
%aja%\bibliography{\BIBPATH/manual_references} |
160 |
|
\bibliography{manual_references} |
161 |
|
|
162 |
\end{document} |
\end{document} |