aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-03-01 21:49:33 +0100
committerAdrian Kummerlaender2019-03-01 21:49:33 +0100
commita0866ace119e4351b8a6daae912ddf7363e91fb8 (patch)
tree3b51ac5656f8baaf9cbcf54fb5cfa5bde51f4495 /img
parentb581a50912ca7079e5d8cd4d0cffaa9162e0badf (diff)
downloadgrid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.tar
grid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.tar.gz
grid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.tar.bz2
grid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.tar.lz
grid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.tar.xz
grid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.tar.zst
grid_refinement_bsc_thesis-a0866ace119e4351b8a6daae912ddf7363e91fb8.zip
Add restriction figure
Diffstat (limited to 'img')
-rw-r--r--img/restriction_base.tikz45
1 files changed, 45 insertions, 0 deletions
diff --git a/img/restriction_base.tikz b/img/restriction_base.tikz
new file mode 100644
index 0000000..9c2c132
--- /dev/null
+++ b/img/restriction_base.tikz
@@ -0,0 +1,45 @@
+\begin{tikzpicture}[
+ scale=2.0,
+ coarse/.style={circle,draw=black,very thick,inner sep=4},
+ fine/.style={cross out,draw=gray,inner sep=2},
+ usedArrow/.style={very thick,->,>=stealth},
+ availableArrow/.style={draw=gray,->,>=stealth}
+]
+
+\node[fine] at (0,0){ };
+\node[fine] at (1,0){ };
+\node[fine] at (2,0){ };
+
+\node[fine] at (0,1){ };
+\node[fine] at (1,1){ };
+\node[coarse] at (1,1){ };
+\node[fine] at (2,1){ };
+
+\node[fine] at (0,2){ };
+\node[fine] at (1,2){ };
+\node[fine] at (2,2){ };
+
+\foreach \x in {0,...,2}
+ \foreach \y in {0,...,2} {
+ \draw[availableArrow] (\x+0.1,\y) -- (\x+0.3,\y){ };
+ \draw[availableArrow] (\x+0.1,\y-0.1) -- (\x+0.3,\y-0.3){ };
+ \draw[availableArrow] (\x,\y-0.1) -- (\x,\y-0.3){ };
+ \draw[availableArrow] (\x-0.1,\y-0.1) -- (\x-0.3,\y-0.3){ };
+ \draw[availableArrow] (\x-0.1,\y) -- (\x-0.3,\y){ };
+ \draw[availableArrow] (\x-0.1,\y+0.1) -- (\x-0.3,\y+0.3){ };
+ \draw[availableArrow] (\x,\y+0.1) -- (\x,\y+0.3){ };
+ };
+
+\draw[usedArrow] (2.1,2.1) -- (2.3,2.3){ };
+\draw[usedArrow] (2.1,1.1) -- (2.3,1.3){ };
+\draw[usedArrow] (2.1,0.1) -- (2.3,0.3){ };
+
+\draw[usedArrow] (1.1,2.1) -- (1.3,2.3){ };
+\draw[usedArrow] (1.1,1.1) -- (1.3,1.3){ };
+\draw[usedArrow] (1.1,0.1) -- (1.3,0.3){ };
+
+\draw[usedArrow] (0.1,2.1) -- (0.3,2.3){ };
+\draw[usedArrow] (0.1,1.1) -- (0.3,1.3){ };
+\draw[usedArrow] (0.1,0.1) -- (0.3,0.3){ };
+
+\end{tikzpicture}