diff --git a/Doc/images/mesh.collapse.png b/Doc/images/mesh.collapse.png new file mode 100644 index 00000000..394c48e8 Binary files /dev/null and b/Doc/images/mesh.collapse.png differ diff --git a/Doc/images/mesh.flip.png b/Doc/images/mesh.flip.png new file mode 100644 index 00000000..70919d34 Binary files /dev/null and b/Doc/images/mesh.flip.png differ diff --git a/Doc/images/src/mesh.collapse.tex b/Doc/images/src/mesh.collapse.tex new file mode 100644 index 00000000..12fc437c --- /dev/null +++ b/Doc/images/src/mesh.collapse.tex @@ -0,0 +1,175 @@ +\documentclass{minimal} + +% Tikz +\usepackage{pgf} +\usepackage{tikz} +\usepackage{color} + +\definecolor{ACG}{RGB}{55,91,64} + +\begin{document} + +\begin{center} + +%\colorbox{ACG}{ + +\begin{tikzpicture} + [ + vertex/.style={draw=none,circle,fill=white,minimum size=2pt}, + edge/.style={draw,white,thick}, + hedge/.style={->,>=latex,shorten >=5pt,draw,white,very thick}, + redge/.style={line width=3pt,color=red!50!white} + ] + +\begin{scope}[yshift=-3.6cm] + +\begin{scope}[xshift=-4cm,x={(1.4,0)},y={(0,1.4)}] + +\coordinate (V1) at (-1,1); +\coordinate (V2) at (-1,3); +\coordinate (V3) at (0,0); +\coordinate (V4) at (0,2); +\coordinate (V5) at (0,4); +\coordinate (V6) at (1,3); +\coordinate (V7) at (1,1); + +\draw[edge] (V1) -- (V2) {}; +\draw[edge] (V2) -- (V4) {}; + + +\draw[hedge] ([xshift=-2pt]V4) -- ([xshift=-2pt]V3) {}; +\draw[hedge,color=red!50!white] ([xshift=2pt]V3) -- ([xshift=2pt]V4) {}; + +\draw[edge] (V3) -- (V1) {}; + +\draw[edge] (V4) -- (V6) {}; +\draw[edge] (V6) -- (V7) {}; +\draw[edge] (V7) -- (V3) {}; + +\draw[edge] (V2) -- (V5) {}; +\draw[edge] (V5) -- (V6) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V4) {}; +\node[vertex] at (V5) {}; +\node[vertex] at (V6) {}; +\node[vertex] at (V7) {}; + +\end{scope} + +\draw[->,>=latex,thick,white] (-1.5, 4) arc (105:75:6); +\node[above] at (0, 4.2) {\textcolor{white}{\textbf{Collapse edge}}}; + +\begin{scope}[xshift=4cm,x={(1.4,0)},y={(0,1.4)}] + +\coordinate (V1) at (-1,1); +\coordinate (V2) at (-1,3); +%\coordinate (V3) at (0,0); +\coordinate (V4) at (0,2); +\coordinate (V5) at (0,4); +\coordinate (V6) at (1,3); +\coordinate (V7) at (1,1); + +\draw[edge] (V1) -- (V2) {}; +\draw[edge] (V2) -- (V4) {}; +\draw[edge] (V4) -- (V1) {}; + +\draw[edge] (V4) -- (V6) {}; +\draw[edge] (V6) -- (V7) {}; +\draw[edge] (V7) -- (V4) {}; + +\draw[edge] (V2) -- (V5) {}; +\draw[edge] (V5) -- (V6) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V4) {}; +\node[vertex] at (V5) {}; +\node[vertex] at (V6) {}; +\node[vertex] at (V7) {}; + +\end{scope} + +\end{scope} + +\begin{scope}[yshift=3.6cm] + +\begin{scope}[xshift=-4cm,x={(1.4,0)},y={(0,1.4)}] + +\coordinate (V1) at (-1,1); +\coordinate (V2) at (-1,3); +\coordinate (V3) at (0,0); +\coordinate (V4) at (0,2); +\coordinate (V5) at (0,4); +\coordinate (V6) at (1,3); +\coordinate (V7) at (1,1); + +\draw[edge] (V1) -- (V2) {}; +\draw[edge] (V2) -- (V4) {}; + + +\draw[hedge,color=red!50!white] ([xshift=-2pt]V4) -- ([xshift=-2pt]V3) {}; +\draw[hedge] ([xshift=2pt]V3) -- ([xshift=2pt]V4) {}; + +\draw[edge] (V3) -- (V1) {}; + +\draw[edge] (V4) -- (V6) {}; +\draw[edge] (V6) -- (V7) {}; +\draw[edge] (V7) -- (V3) {}; + +\draw[edge] (V2) -- (V5) {}; +\draw[edge] (V5) -- (V6) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V4) {}; +\node[vertex] at (V5) {}; +\node[vertex] at (V6) {}; +\node[vertex] at (V7) {}; + +\end{scope} + +\draw[->,>=latex,thick,white] (-1.5, 4) arc (105:75:6); +\node[above] at (0, 4.2) {\textcolor{white}{\textbf{Collapse edge}}}; + +\begin{scope}[xshift=4cm,x={(1.4,0)},y={(0,1.4)}] + +\coordinate (V1) at (-1,1); +\coordinate (V2) at (-1,3); +\coordinate (V3) at (0,0); +%\coordinate (V4) at (0,2); +\coordinate (V5) at (0,4); +\coordinate (V6) at (1,3); +\coordinate (V7) at (1,1); + +\draw[edge] (V1) -- (V2) {}; +\draw[edge] (V2) -- (V3) {}; +\draw[edge] (V3) -- (V1) {}; + +\draw[edge] (V3) -- (V6) {}; +\draw[edge] (V6) -- (V7) {}; +\draw[edge] (V7) -- (V3) {}; + +\draw[edge] (V2) -- (V5) {}; +\draw[edge] (V5) -- (V6) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V5) {}; +\node[vertex] at (V6) {}; +\node[vertex] at (V7) {}; + +\end{scope} + +\end{scope} +\end{tikzpicture} + +%} + +\end{center} + +\end{document} diff --git a/Doc/images/src/mesh.flip.tex b/Doc/images/src/mesh.flip.tex new file mode 100644 index 00000000..8bf5e9c1 --- /dev/null +++ b/Doc/images/src/mesh.flip.tex @@ -0,0 +1,79 @@ +\documentclass{minimal} + +% Tikz +\usepackage{pgf} +\usepackage{tikz} +\usepackage{color} + +\definecolor{ACG}{RGB}{55,91,64} + +\begin{document} + +\begin{center} + +%\colorbox{ACG}{ + +\begin{tikzpicture} + [ + vertex/.style={draw=none,circle,fill=white,minimum size=2pt}, + edge/.style={draw,white,thick}, + redge/.style={line width=3pt,color=red!50!white} + ] + +\begin{scope}[xshift=-5cm] + +\coordinate (V1) at (-3,3); +\coordinate (V2) at (0,0); +\coordinate (V3) at (0,6); +\coordinate (V4) at (3,3); + +\draw[edge] (V1) to (V2) {}; + +\draw[edge] (V1) -- (V3) {}; + +\draw[redge] (V1) -- (V4) {}; + +\draw[edge] (V2) -- (V4) {}; + +\draw[edge] (V3) -- (V4) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V4) {}; + +\end{scope} + +\draw[->,>=latex,thick,white] (-1.5, 4) arc (105:75:6); +\node[above] at (0, 4.2) {\textcolor{white}{\textbf{Flip edge}}}; + +\begin{scope}[xshift=5cm] + +\coordinate (V1) at (-3,3); +\coordinate (V2) at (0,0); +\coordinate (V3) at (0,6); +\coordinate (V4) at (3,3); + +\draw[edge] (V1) to (V2) {}; + +\draw[edge] (V1) -- (V3) {}; + +\draw[redge] (V2) -- (V3) {}; + +\draw[edge] (V2) -- (V4) {}; + +\draw[edge] (V3) -- (V4) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V4) {}; + +\end{scope} +\end{tikzpicture} + +%} + +\end{center} + +\end{document} diff --git a/Doc/images/src/mesh.io.tex b/Doc/images/src/mesh.io.tex new file mode 100644 index 00000000..7494fb43 --- /dev/null +++ b/Doc/images/src/mesh.io.tex @@ -0,0 +1,50 @@ +\documentclass{minimal} + +% Tikz +\usepackage{pgf} +\usepackage{tikz} + +\begin{document} + +\begin{center} + \begin{tikzpicture} + [ + vertex/.style={draw=none,circle,fill=white,minimum size=2pt}, + vertex/.style={draw=none,circle,fill=white,minimum size=2pt}, + oedge/.style={->,>=latex,shorten >=6pt,draw,white,thick}, + roedge/.style={->,>=latex,shorten >=6pt,draw,thick,color=red!60!white}, + boedge/.style={->,>=latex,shorten >=6pt,draw,thick,color=blue!60!white} + ] + +\coordinate (V1) at (-3,3); +\coordinate (V2) at (0,0); +\coordinate (V3) at (0,6); +\coordinate (V4) at (3,3); + +\path[boedge] ([yshift=3pt]V1) to ([yshift=3pt]V2) {}; +\path[roedge] ([yshift=-3pt]V2) to ([yshift=-3pt]V1) {}; + +\path[oedge] ([yshift=3pt]V1) -- ([yshift=3pt]V3) {}; +\path[oedge] ([yshift=-3pt]V3) -- ([yshift=-3pt]V1) {}; + +\path[boedge] ([xshift=2pt]V3) -- ([xshift=2pt]V2) {}; +\path[roedge] ([xshift=-2pt]V2) -- ([xshift=-2pt]V3) {}; + +\path[roedge] ([yshift=3pt]V2) -- ([yshift=3pt]V4) {}; +\path[boedge] ([yshift=-3pt]V4) -- ([yshift=-3pt]V2) {}; + +\path[oedge] ([yshift=3pt]V3) -- ([yshift=3pt]V4) {}; +\path[oedge] ([yshift=-3pt]V4) -- ([yshift=-3pt]V3) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V4) {}; + +%\draw[->, thick] (-0.4,3) arc (0:320:20pt); + + +\end{tikzpicture} +\end{center} + +\end{document} diff --git a/Doc/images/src/mesh.opp.tex b/Doc/images/src/mesh.opp.tex new file mode 100644 index 00000000..27e1e080 --- /dev/null +++ b/Doc/images/src/mesh.opp.tex @@ -0,0 +1,50 @@ +\documentclass{minimal} + +% Tikz +\usepackage{pgf} +\usepackage{tikz} + +\begin{document} + +\begin{center} + \begin{tikzpicture} + [ + vertex/.style={draw=none,circle,fill=white,minimum size=2pt}, + vertex/.style={draw=none,circle,fill=white,minimum size=2pt}, + oedge/.style={->,>=latex,shorten >=6pt,draw,white,thick}, + roedge/.style={->,>=latex,shorten >=6pt,draw,thick,color=red!60!white}, + boedge/.style={->,>=latex,shorten >=6pt,draw,thick,color=blue!60!white} + ] + +\coordinate (V1) at (-3,3); +\coordinate (V2) at (0,0); +\coordinate (V3) at (0,6); +\coordinate (V4) at (3,3); + +\path[oedge] ([yshift=3pt]V1) to ([yshift=3pt]V2) {}; +\path[oedge] ([yshift=-3pt]V2) to ([yshift=-3pt]V1) {}; + +\path[boedge] ([yshift=3pt]V1) -- ([yshift=3pt]V3) {}; +\path[roedge] ([yshift=-3pt]V3) -- ([yshift=-3pt]V1) {}; + +\path[oedge] ([xshift=2pt]V3) -- ([xshift=2pt]V2) {}; +\path[oedge] ([xshift=-2pt]V2) -- ([xshift=-2pt]V3) {}; + +\path[oedge] ([yshift=3pt]V2) -- ([yshift=3pt]V4) {}; +\path[oedge] ([yshift=-3pt]V4) -- ([yshift=-3pt]V2) {}; + +\path[oedge] ([yshift=3pt]V3) -- ([yshift=3pt]V4) {}; +\path[oedge] ([yshift=-3pt]V4) -- ([yshift=-3pt]V3) {}; + +\node[vertex] at (V1) {}; +\node[vertex] at (V2) {}; +\node[vertex] at (V3) {}; +\node[vertex] at (V4) {}; + +%\draw[->, thick] (-0.4,3) arc (0:320:20pt); + + +\end{tikzpicture} +\end{center} + +\end{document}