-
Notifications
You must be signed in to change notification settings - Fork 149
/
manual_SPECFEM2D.tex
196 lines (140 loc) · 4.6 KB
/
manual_SPECFEM2D.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
\documentclass[oneside,english]{book}
\usepackage[T1]{fontenc}
%% DK DK we do not accept accented letters, use the old LaTeX syntax
%% DK DK for them instead: \'e \`e \"e \^e and so on.
%% DK DK \usepackage[latin1]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
% table of contents and numbering
\usepackage{tocbibind}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
\usepackage{float}
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{amssymb}
\IfFileExists{url.sty}{\usepackage{url}}
{\newcommand{\url}{\texttt}}
% biblio
\usepackage[authoryear]{natbib}
% biblio GJI
\bibliographystyle{abbrvnat}
% fonts
\usepackage{times}
% figures
\usepackage{graphicx}
% we are running pdflatex, so convert .eps files to .pdf
\usepackage{epstopdf}
% colors to show the corrections
\usepackage[dvipsnames,usenames]{xcolor}
\definecolor{light-gray}{rgb}{0.7,0.7,0.7}
\definecolor{dark-gray}{rgb}{0.1,0.1,0.3}
\definecolor{light-blue}{rgb}{0.7,0.7,0.9}
\definecolor{dark-blue}{rgb}{0.2,0.2,0.5}
% create thumbnails
%\usepackage[pdftex]{thumbpdf}
% hyperlinks to sections and references
\usepackage[pdftex]{hyperref}
% more options
\hypersetup{
bookmarks=true,
bookmarksnumbered=true,
pdfpagemode=UseNone,
pdfstartview=FitH,
pdfpagelayout=SinglePage,
pdfborder={0 0 0},
colorlinks=true, % color links
citecolor=dark-gray, % citation links
filecolor=dark-gray, % file links
linkcolor=dark-gray, % internal link (rgb values)
urlcolor=dark-blue % external weblinks
}
% create thumbnails
%\usepackage[pdftex]{thumbpdf}
\usepackage{enumitem}
\makeatletter
% BibTeX logo
\newcommand{\BibTeX}{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em{T}\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% hyperlinks to sections and references
%\newcommand{\urlwithparentheses}[1]{(\url{#1})}
\newcommand{\toall}[1]{\textbf{*** All: #1 ***}}
\newcommand{\tojeroen}[1]{\textbf{*** Jeroen: #1 ***}}
\newcommand{\tobrian}[1]{\textbf{*** Brian: #1 ***}}
\newcommand{\tovala}[1]{\textbf{*** Vala: #1 ***}}
\newcommand{\tovalabrian}[1]{\textbf{*** Vala \& Brian: #1 ***}}
\newcommand{\tovalaqinya}[1]{\textbf{*** Vala \& Qinya: #1 ***}}
\newcommand{\toqinya}[1]{\textbf{*** Qinya: #1 ***}}
\newcommand{\tomin}[1]{\textbf{*** Min: #1 ***}}
\newcommand{\toalessia}[1]{\textbf{*** Alessia: #1 ***}}
\newcommand{\todimitri}[1]{\textbf{*** Dimitri: #1 ***}}
% colors to show the corrections
\newcommand{\red}[1]{\textbf{\textcolor{Red}{#1}}}
\newcommand{\blue}[1]{\textbf{\textcolor{Blue}{#1}}}
\newcommand{\cyan}[1]{\textbf{\textcolor{Cyan}{#1}}}
\newcommand{\green}[1]{\textbf{\textcolor{Green}{#1}}}
\newcommand{\magenta}[1]{\textbf{\textcolor{Magenta}{#1}}}
\newcommand{\orange}[1]{\textbf{\textcolor{Orange}{#1}}}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Start of document.
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% TITLE page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newgeometry{margin=0pt}
\thispagestyle{empty}
\vspace*{\fill}
\begingroup
\centering
\makebox[\textwidth]{%
\includegraphics[width=0.83\paperwidth]{figures/specfem_2d-cover.pdf}
}
\endgroup
\vspace*{\fill}
\restoregeometry
% Inner Title Page
\title{\textbf{SPECFEM2D}\\
\textbf{User Manual}}
\author{\copyright\ CNRS (France) and Princeton University (USA)\\
Version 8.1
}
% date of last edit
\date{\today}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{authors}
\newpage{}
\include{sponsors}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Table of contents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage{}
\tableofcontents{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{01_introduction}
\include{02_getting_started}
\include{03_mesh_generation}
\include{04_running_the_solver}
\include{05_adjoint_simulations}
\include{06_doing_tomography}
\include{07_oil_and_gas_industry_simulations}
\include{08_informations_for_developers}
\include{features}
\include{notes_and_acknowledgement}
\include{copyright_and_version}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% REFERENCES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliography{bibliography}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% APPENDIX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
%dummy comment inserted by tex2lyx to ensure that this paragraph is not empty
\include{A_reference_frame}
\include{B_channel_codes}
\include{C_troubleshooting}
\include{D_license}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}