-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
394 lines (325 loc) · 10.6 KB
/
thesis.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
% arara: pdflatex
% arara: biber
% arara: pdflatex
\documentclass[11pt,a4paper,headsepline,bibliography=totoc,idxtotoc,DIV12,openright,twoside=true,chapterprefix=on]{scrbook}
%draft zum Schluss
\listfiles
\renewcommand*{\chapterheadstartvskip}{\vspace*{5cm}} %rausnehmen scrbook
%\pagestyle{myheadings}
%\markright{Basics}
\addtokomafont{pageheadfoot}{\linespread{1}\selectfont}
\usepackage[rflt]{floatflt}
\usepackage[ngerman, english]{babel}
\usepackage{siunitx}
\usepackage{color}
\usepackage{ragged2e}
\usepackage{breakcites}
\usepackage{microtype}
\usepackage[super]{nth}
\newcommand{\tabheadfont}[1]{\textbf{#1}} %% Tabellenkopf in Fett
\usepackage{longtable}
\makeatletter
\newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}\@footnotemark}
\makeatother
\usepackage{import}
\usepackage{fancyvrb}
\usepackage[toc,page]{appendix}
\usepackage{algorithmic}
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize}}
\makeatother
%\setlength{\oddsidemargin}{+1mm}%
%\setlength{\evensidemargin}{-1mm}%
\setlength{\oddsidemargin}{+1pt}%
\setlength{\evensidemargin}{-1pt}%
\usepackage[table]{xcolor}
\usepackage{listings}
\usepackage{bera}% optional; just for the example
\colorlet{punct}{red!60!black}
\definecolor{background}{HTML}{EEEEEE}
\definecolor{delim}{RGB}{20,105,176}
\colorlet{numb}{magenta!60!black}
\lstdefinelanguage{json}{
basicstyle=\tiny\ttfamily,
numbers=left,
numberstyle=\scriptsize,
stepnumber=1,
numbersep=8pt,
showstringspaces=false,
breaklines=true,
frame=lines,
backgroundcolor=\color{background},
literate=
*{0}{{{\color{numb}0}}}{1}
{1}{{{\color{numb}1}}}{1}
{2}{{{\color{numb}2}}}{1}
{3}{{{\color{numb}3}}}{1}
{4}{{{\color{numb}4}}}{1}
{5}{{{\color{numb}5}}}{1}
{6}{{{\color{numb}6}}}{1}
{7}{{{\color{numb}7}}}{1}
{8}{{{\color{numb}8}}}{1}
{9}{{{\color{numb}9}}}{1}
{:}{{{\color{punct}{:}}}}{1}
{,}{{{\color{punct}{,}}}}{1}
{\{}{{{\color{delim}{\{}}}}{1}
{\}}{{{\color{delim}{\}}}}}{1}
{[}{{{\color{delim}{[}}}}{1}
{]}{{{\color{delim}{]}}}}{1},
}
%Default fixed font does not support bold face
\DeclareFixedFont{\ttb}{T1}{txtt}{bx}{n}{12} % for bold
\DeclareFixedFont{\ttm}{T1}{txtt}{m}{n}{12} % for normal
% Custom colors
\usepackage{color}
\definecolor{deepblue}{rgb}{0,0,0.5}
\definecolor{deepred}{rgb}{0.6,0,0}
\definecolor{deepgreen}{rgb}{0,0.5,0}
% Python style for highlighting
\newcommand\pythonstyle{\lstset{
language=Python,
otherkeywords={self}, % Add keywords here
basicstyle=\footnotesize\ttfamily,
keywordstyle=\footnotesize\ttfamily\color{deepblue},
emph={MyClass,__init__}, % Custom highlighting
emphstyle=\ttb\color{deepred}, % Custom highlighting style
stringstyle=\color{deepgreen},
frame=tb, % Any extra options here
showstringspaces=false , %
rulecolor=\color{black}
}}
% Python environment
\lstnewenvironment{python}[1][]
{
\pythonstyle
\lstset{#1}
}
{}
% Python for external files
\newcommand\pythonexternal[2][]{{
\pythonstyle
\lstinputlisting[#1]{#2}}}
% Python for inline
\newcommand\pythoninline[1]{{\pythonstyle\lstinline!#1!}}
\usepackage{mathrsfs}
\usepackage[utf8]{inputenc}
\usepackage[normalem]{ulem}
\usepackage{amsmath,amssymb}
\usepackage{amsthm}
%\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{graphicx}
%\usepackage[demo]{graphicx}
\usepackage{caption}
%\usepackage{subcaption}
\newcommand\bmmax{0}
\usepackage{bm}
\usepackage{wrapfig}
\usepackage{sidecap}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
%\usepackage{pgf}
\usepackage{subfig}
\usepackage[inline]{fixme}
%\usepackage[justification=raggedright,singlelinecheck=false]{caption}
\usepackage{nicefrac}
\usepackage{setspace}
\usepackage{dcolumn}
%\usepackage{ragged2e}
\usepackage{caption}
\captionsetup{format=plain,indention=0cm}
%\usepackage[sort,nocompress]{cite}
%\usepackage{achicago}
%\usepackage[authoryear,square]{natbib}
\usepackage{hyperref}
\usepackage{url}
\hypersetup{colorlinks=true, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black}
\onehalfspacing
\usepackage{mathpazo}
\usepackage{todonotes}
\usepackage{setspace}
\usepackage{booktabs}
\usepackage[stable, hang, flushmargin]{footmisc}
\usepackage[autostyle]{csquotes}
\usepackage[
backend=biber,
style=alphabetic,
sortlocale=de_DE,
natbib=true,
url=false,
doi=false,
eprint=false
]{biblatex}
\addbibresource{../bibliography/MasterThesis.bib}
\addbibresource{../bibliography/nvidia.bib}
\usepackage[]{hyperref}
\hypersetup{
colorlinks=true,
}
\setlength{\emergencystretch}{1em}
\setlength{\parindent}{0pt} %Unterbindet das Einrücken
\newcommand*\dif{\mathop{}\!\mathrm{d}}
\newcommand*\Dif{\mathop{}\!\mathrm{D}}
\newcommand{\pdn}[2][]{\frac{\partial#1}{\partial#2}}
\newcommand{\IR}{\mathbb{R}}
\newcommand{\IB}{\mathbb{B}}
\newcommand{\IN}{\mathbb{N}}
\newcommand{\IC}{\mathbb{C}}
\newcommand{\re}{\mathrm{Re}} % Realteil
\newcommand{\im}{\mathrm{Im}} % Imaginärteil
\newcommand\Rey{\mbox{\textit{Re}}} % Reynolds number
\newcommand\Pran{\mbox{\textit{Pr}}} % Prandtl number, cf TeX's \Pr product
\newcommand\Ekman{\mbox{\textit{Ek}}} % Peclet number
\newcommand\Ray{\mbox{\textit{Ra}}} % Peclet number
%\newcommand{\Reyn}{\operatorname{\mathit{R\kern-.04em e}}}
\newcommand{\Mach}{\operatorname{\mathit{M\kern-.10em a}}}
\newcommand\Pe{\mbox{\textit{Pe}}} % Peclet number
% New definition of square root:
% it renames \sqrt as \oldsqrt
\let\oldsqrt\sqrt
% it defines the new \sqrt in terms of the old one
\def\sqrt{\mathpalette\DHLhksqrt}
\def\DHLhksqrt#1#2{%
\setbox0=\hbox{$#1\oldsqrt{#2\,}$}\dimen0=\ht0
\advance\dimen0-0.2\ht0
\setbox2=\hbox{\vrule height\ht0 depth -\dimen0}%
{\box0\lower0.4pt\box2}}
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
%\newcommand{\iu}{{i\mkern1mu}}
\usepackage[explicit]{titlesec}
\usepackage{lipsum}% just to generate text
\titleformat{\section}[block]
{\Large}{\thesection~#1}{1em}{}
\titleformat{\subsection}[block]
{\large}{\thesubsection~#1}{1em}{}
\titleformat{\subsubsection}[block]
{\normalsize}{\thesubsubsection~#1}{1em}{}
%\titlespacing*{\subsection}{0pt}{15pt}{10pt}
\titlespacing*{\section}{0pt}{25pt}{20pt}
%\colorlet{myrulecolor}{black}
\definecolor{myrulecolor}{RGB}{13,105,154}% define the color for the rules
\titleformat{\chapter}[display]
{\normalfont\scshape\huge}
{\hspace*{0pt}\thechapter.~#1}
{-15pt}
{\hspace*{-60pt}{\color{myrulecolor}\rule{\dimexpr\textwidth+80pt\relax}{3pt}}\Huge}
\titleformat{name=\chapter,numberless}[display]
{\normalfont\scshape\Huge}
{\hspace*{0pt}#1}
{-15pt}
{\hspace*{-110pt}{\color{myrulecolor}\rule{\dimexpr\textwidth+80pt\relax}{3pt}}\Huge}
\titlespacing*{\chapter}{0pt}{0pt}{30pt}
%\usepackage{tgpagella}
\usepackage{fourier}
%\usepackage{sectsty}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\begin{document}
\makeatletter
\renewcommand*\env@cases[1][1.2]{%
\let\@ifnextchar\new@ifnextchar
\left\lbrace
\def\arraystretch{#1}%
\array{@{}l@{\quad}l@{}}%
}
\makeatother
\begin{titlepage}
\begin{figure}[!t]
\begin{minipage}[l]{0.5\textwidth}
\includegraphics[width=0.95\textwidth]{gfx/logos/ug.pdf}
\end{minipage}
\hfill
\begin{minipage}[r]{0.4\textwidth}
\includegraphics[width=0.8\textwidth]{gfx/logos/physik.pdf}
\end{minipage}
\end{figure}
\vspace*{1cm}
\begin{center}
\begin{huge}
%\textbf{Verzweigung in Netzwerken\\[9mm]}
\textsc{GPU-basierte Immersed Boundary Methoden mit Anwendung auf rotierende Strömungen}
\rule{0.9\textwidth}{0.4pt}\\
\textsc{GPU-based Immersed Boundary Methods with Application to Rotating Flows}\\[1.8cm]
\end{huge}
\begin{Large}
Masterarbeit\\[2cm]
geschrieben am Institut für Geophysik\\
der Georg-August Universität Göttingen\\[2cm]
\end{Large}
\begin{large}
von\\[.5cm]
Jonas Ruebsam\\
aus Paderborn\\
\vfill
\begin{center}
\begin{otherlanguage}{ngerman}
Abgabedatum: \today
\end{otherlanguage}
\end{center}
\end{large}
\end{center}
\end{titlepage}
\mbox{}
\thispagestyle{empty}
\newpage
\newpage
\pagenumbering{roman}
\thispagestyle{empty}
\vfill
\begin{otherlanguage}{ngerman}
\noindent \textbf{Die Arbeit wurde im Zeitraum vom 17.Dezember 2015 bis \today \ in der Arbeitsgruppe\\ Fluiddynamik
unter der Betreuung von Prof. Dr. Andreas Tilgner angefertigt. }\\
\end{otherlanguage}
\vfill
\begin{tabbing}
\hspace{3cm}\=\kill
Erstgutachter: \quad Prof. Dr. Andreas Tilgner\\
Zweitgutachter: \quad Apl. Prof. Dr. Ulrich Parlitz\\
\end{tabbing}
\newpage
\mbox{}
\thispagestyle{empty}
\newpage
%\newpage
\setcounter{page}{1}
\addtocontents{toc}{\protect\setstretch{1.15}}
\tableofcontents
\include{chapters/nomenklatur}
\cleardoublepage
\setcounter{page}{1}
\pagenumbering{arabic}
\include{chapters/introduction}
\include{chapters/theorie}
\include{chapters/numerik}
\include{chapters/cuda}
\include{chapters/immersed_boundary}
\include{chapters/testcases}
\include{chapters/valiresults}
\include{chapters/validiscuss}
%\include{chapters/validation/pflow}
%\include{chapters/validation/hp_flow}
%%%\include{chapters/validation/tc_flow}
\include{chapters/cone}
\include{chapters/outlook}
\newpage
\thispagestyle{empty}
\mbox{}
\begin{appendices}
\include{chapters/python_api}
\include{chapters/appendix}
\end{appendices}
\begingroup
\sloppy
\printbibliography
\endgroup
\include{chapters/danksagung}
\clearpage\thispagestyle{empty}\mbox{}\clearpage
\include{chapters/declaration}
\end{document}