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} |
%ph%\usepackage{epsfig} |
18 |
%\usepackage{oldgerm} |
%ph%\usepackage{psfrag} |
19 |
|
%ph%\usepackage{oldgerm} |
20 |
|
|
21 |
% I commented the following because it introduced excessive white space |
% I commented the following because it introduced excessive white space |
22 |
%\usepackage{palatcm} % better PDF |
%aja%\usepackage{palatcm} % better PDF |
23 |
|
|
24 |
% page headers and footers |
% page headers and footers |
25 |
|
%cnh%\usepackage{fancyhdr} |
26 |
%\pagestyle{fancy} |
%\pagestyle{fancy} |
27 |
\fancyhead{} |
%cnh%\fancyhead{} |
28 |
\fancyhead[LO]{\slshape \rightmark} |
%cnh%\fancyhead[LO]{\slshape \rightmark} |
29 |
\fancyhead[RE]{\slshape \leftmark} |
%cnh%\fancyhead[RE]{\slshape \leftmark} |
30 |
\fancyhead[RO,LE]{\thepage} |
%cnh%\fancyhead[RO,LE]{\thepage} |
31 |
\fancyfoot[CO,CE]{\today} |
%cnh%\fancyfoot[CO,CE]{\today} |
32 |
\fancyfoot[RO,LE]{ } |
%cnh%\fancyfoot[RO,LE]{ } |
33 |
\renewcommand{\headrulewidth}{0.4pt} |
%cnh%\renewcommand{\headrulewidth}{0.4pt} |
34 |
\renewcommand{\footrulewidth}{0.4pt} |
%cnh%\renewcommand{\footrulewidth}{0.4pt} |
35 |
|
|
36 |
|
% bibtex stuff |
37 |
|
%aja%\newcommand{\BIBPATH}{.} |
38 |
|
%aja%\usepackage{natbib} |
39 |
|
%aja%\bibliographystyle{\BIBPATH/jmr_my} |
40 |
|
%aja%\gdef\harvardleft{[} |
41 |
|
%aja%\gdef\harvardright{]} |
42 |
|
%aja%\bibpunct{[}{]}{,}{a}{}{,} |
43 |
|
\bibliographystyle{plain} |
44 |
|
|
45 |
% referencing |
% referencing |
46 |
\newcommand{\refequ}[1]{equation (\ref{equ:#1})} |
%ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} |
47 |
\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} |
%ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} |
48 |
\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} |
%ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} |
49 |
\newcommand{\reftabno}[1]{\ref{tab:#1}} |
%ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} |
50 |
\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} |
%ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} |
51 |
\newcommand{\reffigno}[1]{\ref{fig:#1}} |
%ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} |
52 |
|
|
53 |
% stuff for psfrag |
% stuff for psfrag |
54 |
\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} |
55 |
\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} |
56 |
|
|
57 |
% This allows numbering of subsubsections |
% This allows numbering of subsubsections |
58 |
\setcounter{secnumdepth}{3} |
\setcounter{secnumdepth}{3} |
59 |
% This changes the the chapter title |
% This changes the the chapter title |
60 |
%\renewcommand{\chaptername}{Section} |
%\renewcommand{\chaptername}{Section} |
61 |
|
|
|
\usepackage{showlabels} |
|
62 |
|
|
63 |
|
% This allows hyperlinks in PDF |
64 |
|
% hyperref package and colors for hyperref package |
65 |
|
\usepackage{color} |
66 |
|
\usepackage[dvips]{hyperref} |
67 |
|
\definecolor{darkgreen}{rgb}{0,0.4,0} |
68 |
|
\definecolor{darkblue}{rgb}{0,0,0.4} |
69 |
|
\definecolor{darkred}{rgb}{0.5,0,0} |
70 |
|
\hypersetup{breaklinks=true, |
71 |
|
colorlinks=true, |
72 |
|
linkcolor=darkgreen, |
73 |
|
citecolor=darkblue, |
74 |
|
pagecolor=darkred, |
75 |
|
pdftitle={MITgcm Release 1 Documentation}, |
76 |
|
pdfauthor={support@mitgcm.org}, |
77 |
|
pdfkeywords={oceanography, ocean model, general circulation model, |
78 |
|
non-hydrostatic, finite volume, inverse methods, adjoint method} |
79 |
|
} |
80 |
|
|
81 |
\begin{document} |
\begin{document} |
82 |
|
|
83 |
|
\bodytext{bgcolor="#FFFFFFFF"} |
84 |
|
|
85 |
\tableofcontents |
\tableofcontents |
86 |
\pagebreak |
%\pagebreak |
87 |
|
|
88 |
\part{The MIT GCM basics} |
%\part{MIT GCM basics} |
89 |
|
|
90 |
% Section: Overview |
% Section: Overview |
91 |
\input{part1/part1} |
\input{part1/part1} |
92 |
\pagebreak |
%\pagebreak |
93 |
|
|
94 |
% Section: Discretization and Algorithm |
% Section: Discretization and Algorithm |
95 |
\input{part2/part2} |
\input{part2/part2} |
96 |
\pagebreak |
%\pagebreak |
97 |
|
|
98 |
% Section: Getting started |
% Section: Getting started |
99 |
\input{part3/part3} |
\input{part3/part3} |
100 |
\pagebreak |
%\pagebreak |
101 |
|
|
102 |
% Section: Software Architecture |
% Section: Software Architecture |
103 |
\input{part4/part4} |
\input{part4/part4} |
104 |
\pagebreak |
%\pagebreak |
105 |
|
|
106 |
|
|
107 |
\part{Adjoint of the MIT GCM} |
%\part{Adjoint of the MIT GCM} |
108 |
|
|
109 |
% Section: Automatic Differentiation |
% Section: Automatic Differentiation |
110 |
\input{part5/part5} |
\input{part5/part5} |
111 |
\pagebreak |
%\pagebreak |
112 |
|
|
113 |
|
|
114 |
\part{Additional features} |
%\part{Additional features} |
115 |
|
|
116 |
% Section: Physical Packages |
% Section: Physical Packages |
117 |
\input{part6/part6} |
\input{part6/part6} |
118 |
\pagebreak |
%\pagebreak |
119 |
|
|
120 |
% Section: Diagnostics |
% Section: Diagnostics |
121 |
\input{part7/part7} |
\input{part7/part7} |
122 |
\pagebreak |
%\pagebreak |
123 |
|
|
124 |
% Section: ECCO Interface |
% Section: ECCO Interface |
125 |
\input{part8/part8} |
\input{part8/part8} |
126 |
|
%\pagebreak |
127 |
|
|
128 |
|
% Section: References: |
129 |
|
%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} |
130 |
|
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY} |
131 |
|
%aja%\bibliography{\BIBPATH/manual_references} |
132 |
|
\bibliography{manual_references} |
133 |
|
|
134 |
\end{document} |
\end{document} |