aboutsummaryrefslogtreecommitdiff
path: root/img/grid_factors.tikz
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-12-17 20:34:31 +0100
committerAdrian Kummerlaender2018-12-17 20:34:31 +0100
commit72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25 (patch)
tree224f345cf79e451352b6d621206d63547982f396 /img/grid_factors.tikz
downloadgrid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.tar
grid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.tar.gz
grid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.tar.bz2
grid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.tar.lz
grid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.tar.xz
grid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.tar.zst
grid_refinement_bsc_thesis-72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25.zip
Start tracking bachelor thesis source
Some scaffolding as well as the initial port of usable parts from my seminar talk on grid refinement criterions.
Diffstat (limited to 'img/grid_factors.tikz')
-rw-r--r--img/grid_factors.tikz57
1 files changed, 57 insertions, 0 deletions
diff --git a/img/grid_factors.tikz b/img/grid_factors.tikz
new file mode 100644
index 0000000..edb80ae
--- /dev/null
+++ b/img/grid_factors.tikz
@@ -0,0 +1,57 @@
+\begin{tikzpicture}[
+ cavity/.style = {
+ matrix of nodes,
+ nodes in empty cells,
+ column sep = -\pgflinewidth,
+ row sep = -\pgflinewidth,
+ nodes={
+ inner sep=0mm,
+ outer sep=0pt,
+ minimum size=5mm,
+ text height=\ht\strutbox,
+ text depth=\dp\strutbox,
+ draw
+ }
+ }
+]
+
+\matrix[cavity,label=below:{\(N=15\)}] {
+ 5 & 4 & 4 & 4 & 5 \\
+ 3 & 3 & 2 & 3 & 4 \\
+ 2 & 2 & 2 & 2 & 3 \\
+ 1 & 1 & 1 & 1 & 1 \\
+ 0 & 1 & 1 & 1 & 0 \\
+};
+
+\matrix[cavity,label=below:{\(N=30\)}] at (3, 0) {
+ 4 & 3 & 3 & 3 & 4 \\
+ 1 & 1 & 1 & 1 & 2 \\
+ 1 & 0 & 0 & 1 & 2 \\
+ 0 & 0 & 0 & 1 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+};
+
+\matrix[cavity,label=below:{\(N=60\)}] at (6, 0) {
+ 3 & 2 & 2 & 2 & 3 \\
+ 0 & 0 & 0 & 0 & 1 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+};
+
+\matrix[cavity,label=below:{\(N=120\)}] at (9, 0) {
+ 2 & 1 & 1 & 1 & 2 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+};
+
+\matrix[cavity,label=below:{\(N=240\)}] at (12, 0) {
+ 1 & 0 & 0 & 0 & 1 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+ 0 & 0 & 0 & 0 & 0 \\
+};
+\end{tikzpicture}