aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-12-26 12:10:44 +0100
committerAdrian Kummerlaender2018-12-26 12:10:44 +0100
commit154b67cab08747c604bdede7f3d21a5a093e7c41 (patch)
treeea153a7e5a74c4e43f65cd5c4c8597aa726979a8 /img
parent8d6d9642c079fa0bef45b43cf5be6772717ce7e7 (diff)
downloadgrid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.tar
grid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.tar.gz
grid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.tar.bz2
grid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.tar.lz
grid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.tar.xz
grid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.tar.zst
grid_refinement_bsc_thesis-154b67cab08747c604bdede7f3d21a5a093e7c41.zip
Add some interpolation illustrations
Diffstat (limited to 'img')
-rw-r--r--img/interpolation_basis.tikz32
-rw-r--r--img/interpolation_detail.tikz28
2 files changed, 60 insertions, 0 deletions
diff --git a/img/interpolation_basis.tikz b/img/interpolation_basis.tikz
new file mode 100644
index 0000000..1d8d86e
--- /dev/null
+++ b/img/interpolation_basis.tikz
@@ -0,0 +1,32 @@
+\begin{tikzpicture}[
+ scale=1.5,
+ coarse/.style={circle,draw=gray,inner sep=4pt},
+ ibase/.style={coarse,draw=black,very thick},
+ fine/.style={cross out,draw=gray,minimum size=8pt},
+ wantedfine/.style={fine,draw=black,ultra thick},
+ arrow/.style={-{Latex[length=2mm]},thick}
+]
+
+\foreach \x in {-1,...,3}
+ \foreach \y in {-1,...,2}
+ \node[coarse] at (\x,\y){ };
+
+\foreach \x in {0,...,8}
+ \foreach \y in {-2,...,4}
+ \node[fine] at (2+\x*0.5,\y*0.5){ };
+
+\node[wantedfine] at (2,0.5){ };
+\node[ibase] at (2,2){ };
+\node[ibase] at (2,1){ };
+\node[ibase] at (2,0){ };
+\node[ibase] at (2,-1){ };
+
+\draw[dashed,thick] (1.8,-1.2) rectangle (2.2,2.2);
+\draw[dashed,draw=gray] (2.8,-1.2) rectangle (3.2,2.2);
+
+\draw[arrow] (2,3.3) node[right] {Interpolation von grob nach fein, \(\U_{g \to f}\)} -- (2,2.3);
+\draw[arrow] (3,2.8) node[right] {Restriktion von fein nach grob, \(\U_{f \to g}\)} -- (3,2.3);
+
+\draw[decorate,decoration={brace,amplitude=10pt,mirror},line width=1pt]
+(1.8,-1.4) -- (3.2,-1.4) node[midway,below,yshift=-6pt] {Übergangsbereich};
+\end{tikzpicture}
diff --git a/img/interpolation_detail.tikz b/img/interpolation_detail.tikz
new file mode 100644
index 0000000..3f9472b
--- /dev/null
+++ b/img/interpolation_detail.tikz
@@ -0,0 +1,28 @@
+\begin{tikzpicture}[
+ scale=1.5,
+ coarse/.style={circle,draw=gray,inner sep=4pt},
+ ibase/.style={coarse,draw=black,very thick},
+ fine/.style={cross out,draw=gray,minimum size=8pt},
+ wantedfine/.style={fine,draw=black,ultra thick},
+ arrow/.style={-{Latex[length=2mm]},thick}
+]
+
+\foreach \x in {-3.5,...,3.5}
+ \node[coarse] at (\x,0){ };
+
+\foreach \x in {-7,...,7}
+ \node[fine] at (\x*0.5,0){ };
+
+\node[wantedfine] at (0,0){ };
+\node[ibase] at (-1.5,0){ };
+\node[ibase] at (-0.5,0){ };
+\node[ibase] at (0.5,0){ };
+\node[ibase] at (1.5,0){ };
+
+\draw[arrow] (0,0.8) node[right] {Gesuchter Wert \(\interpol{\star}{x_{g \to f}^f}\)} -- (0,0.3);
+\draw[arrow] (-1.5,-0.8) node[below right] {Bekannte Werte \(\interpol{\star}{\U_{g \to f}^g}\)} -- (-1.5,-0.3);
+\draw[arrow] (-0.5,-0.8) -- (-0.5,-0.3);
+\draw[arrow] (0.5,-0.8) -- (0.5,-0.3);
+\draw[arrow] (1.5,-0.8) -- (1.5,-0.3);
+
+\end{tikzpicture}