-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
119 lines (95 loc) · 3.31 KB
/
main.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
\documentclass{report}
% ----------------------------------------------------------------------------
% Preamble
% ----------------------------------------------------------------------------
%\title{Polynomial Chaos}
\usepackage[utf8]{inputenc}
% These are some lazy packages to get a good looking page layout
\usepackage{fullpage}
\usepackage[parfill]{parskip}
\usepackage[toc,page]{appendix}
\usepackage{setspace}
\onehalfspacing
% A package to include graphics files (jpg, png, eps, pdf etc...)
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{color}
\usepackage{multirow}
\usepackage{multicol}
% Some basic packages that are almost standad
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
% Package to be able to draw tikz images
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathreplacing}
% Package to get hyperrlinks
\usepackage{hyperref}
% Package to be able to compile standalone tikz packages
\usepackage{standalone}
% Notes
\usepackage{todonotes}
% Code
\usepackage{listings}
% A package that gives more control for bibliographies than the default
\usepackage[backend=biber, backref=true, firstinits=true, url=true, isbn=true]{biblatex}
\addbibresource{bibliography.bib}
% ----------------------------------------------------------------------------
% Some useful definitions
% ----------------------------------------------------------------------------
\renewcommand{\v}[1]{\mathbf{#1}}
\newcommand{\generalLaplaceEqn}{-\nabla\cdot(a\nabla{u}) + \v{b}\cdot\nabla{u} + cu &= f}
\newcommand{\half}{\frac{1}{2}}
\newcommand{\myref}[1]{(\ref{#1})}
\newcommand{\incode}[1]{\framebox{\textit{#1}}}
\newcommand{\expect}[1]{\left\langle\langle#1\right\rangle\rangle}
\newcommand{\Ak}[2]{A^{(k)}_{#1,#2}}
\newcommand{\Mk}[2]{M^{(k)}_{#1,#2}}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[chapter]
% ----------------------------------------------------------------------------
% Code listing settings
% ----------------------------------------------------------------------------
\definecolor{commentgreen}{rgb}{0.0, 0.6, 0.0}
\lstset{ %
backgroundcolor=\color{white},
basicstyle=\footnotesize,
breakatwhitespace=true,
breaklines=true,
captionpos=b,
commentstyle=\color{commentgreen},
frame=trBL,
frameround=fttt,
keepspaces=true,
numbers=left,
showspaces=false,
tabsize=2,
title=\lstname
}
% ----------------------------------------------------------------------------
% The actual report
% ----------------------------------------------------------------------------
\begin{document}
\include{frontcover}
\tableofcontents
\listoffigures
% The actual content:
\include{chapters/introduction}
\include{chapters/one-d-deterministic-case}
\include{chapters/two-d-deterministic-case}
\include{chapters/one-d-stochastic-case}
\include{chapters/two-d-stochastic-case}
\include{chapters/conclusion}
\begin{appendices}
\include{chapters/app-oned-deterministic-code}
\include{chapters/app-twod-deterministic-code}
\include{chapters/app-polynomial-chaos-code}
\include{chapters/app-oned-stochastic-code}
\include{chapters/app-twod-stochastic-code}
\end{appendices}
% The bibliography:
\printbibliography
\end{document}