From 72e7fac8be6a0c49a876bb60d0e1f9eb243d7a25 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 17 Dec 2018 20:34:31 +0100 Subject: Start tracking bachelor thesis source Some scaffolding as well as the initial port of usable parts from my seminar talk on grid refinement criterions. --- img/grid_factors.tikz | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 img/grid_factors.tikz (limited to 'img/grid_factors.tikz') 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} -- cgit v1.2.3