...
 
Commits (4)
add_subdirectory(img)
# create file config.inc containing the version of this module
set(PACKAGE_VERSION ${DUNE_MOD_VERSION})
configure_file(config.inc.in config.inc)
dune_add_latex_document(
SOURCE grid-howto.tex
FATHER_TARGET doc
......
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: cairo 1.12.2 (http://cairographics.org)
%%CreationDate: Sun Dec 2 19:09:51 2012
%%Pages: 1
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%BoundingBox: 0 -1 216 212
%%EndComments
%%BeginProlog
save
50 dict begin
/q { gsave } bind def
/Q { grestore } bind def
/cm { 6 array astore concat } bind def
/w { setlinewidth } bind def
/J { setlinecap } bind def
/j { setlinejoin } bind def
/M { setmiterlimit } bind def
/d { setdash } bind def
/m { moveto } bind def
/l { lineto } bind def
/c { curveto } bind def
/h { closepath } bind def
/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
0 exch rlineto 0 rlineto closepath } bind def
/S { stroke } bind def
/f { fill } bind def
/f* { eofill } bind def
/n { newpath } bind def
/W { clip } bind def
/W* { eoclip } bind def
/BT { } bind def
/ET { } bind def
/pdfmark where { pop globaldict /?pdfmark /exec load put }
{ globaldict begin /?pdfmark /pop load def /pdfmark
/cleartomark load def end } ifelse
/BDC { mark 3 1 roll /BDC pdfmark } bind def
/EMC { mark /EMC pdfmark } bind def
/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
/Tj { show currentpoint cairo_store_point } bind def
/TJ {
{
dup
type /stringtype eq
{ show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
} forall
currentpoint cairo_store_point
} bind def
/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
/Tf { pop /cairo_font exch def /cairo_font_matrix where
{ pop cairo_selectfont } if } bind def
/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
/cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
/cairo_font where { pop cairo_selectfont } if } bind def
/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
/g { setgray } bind def
/rg { setrgbcolor } bind def
/d1 { setcachedevice } bind def
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
%%PageBoundingBox: 0 -1 216 212
%%EndPageSetup
q 0 -1 216 213 rectclip q
0 0 1 rg
3.770574 w
0 J
0 j
[] 0.0 d
4 M q 1 0 0 -1 0 211.017456 cm
198.164 0.676 m 212.289 37.426 l 186.852 159.043 l 150.105 209.914 l S Q
1 0 0 rg
q 1 0 0 -1 0 211.017456 cm
87.621 75.133 m 87.621 145.812 l S Q
0 g
90.672 184.904 m 90.672 183.349 89.414 182.092 87.859 182.092 c 86.309
182.092 85.047 183.349 85.047 184.904 c 85.047 186.459 86.309 187.717 87.859
187.717 c 89.414 187.717 90.672 186.459 90.672 184.904 c h
f
0.478803 w
q 1 0 0 -1 0 211.017456 cm
90.672 26.113 m 90.672 27.668 89.414 28.926 87.859 28.926 c 86.309 28.926
85.047 27.668 85.047 26.113 c 85.047 24.559 86.309 23.301 87.859 23.301
c 89.414 23.301 90.672 24.559 90.672 26.113 c h
S Q
5.867 131.158 m 5.867 129.603 4.605 128.346 3.051 128.346 c 1.5 128.346
0.238 129.603 0.238 131.158 c 0.238 132.713 1.5 133.971 3.051 133.971 c
4.605 133.971 5.867 132.713 5.867 131.158 c h
f
q 1 0 0 -1 0 211.017456 cm
5.867 79.859 m 5.867 81.414 4.605 82.672 3.051 82.672 c 1.5 82.672 0.238
81.414 0.238 79.859 c 0.238 78.305 1.5 77.047 3.051 77.047 c 4.605 77.047
5.867 78.305 5.867 79.859 c h
S Q
90.672 20.916 m 90.672 19.361 89.414 18.099 87.859 18.099 c 86.309 18.099
85.047 19.361 85.047 20.916 c 85.047 22.467 86.309 23.728 87.859 23.728
c 89.414 23.728 90.672 22.467 90.672 20.916 c h
f
q 1 0 0 -1 0 211.017456 cm
90.672 190.102 m 90.672 191.656 89.414 192.918 87.859 192.918 c 86.309
192.918 85.047 191.656 85.047 190.102 c 85.047 188.551 86.309 187.289 87.859
187.289 c 89.414 187.289 90.672 188.551 90.672 190.102 c h
S Q
189.664 51.974 m 189.664 50.424 188.406 49.162 186.852 49.162 c 185.301
49.162 184.039 50.424 184.039 51.974 c 184.039 53.529 185.301 54.791 186.852
54.791 c 188.406 54.791 189.664 53.529 189.664 51.974 c h
f
q 1 0 0 -1 0 211.017456 cm
189.664 159.043 m 189.664 160.594 188.406 161.855 186.852 161.855 c 185.301
161.855 184.039 160.594 184.039 159.043 c 184.039 157.488 185.301 156.227
186.852 156.227 c 188.406 156.227 189.664 157.488 189.664 159.043 c h
S Q
215.102 173.592 m 215.102 172.037 213.844 170.779 212.289 170.779 c 210.734
170.779 209.477 172.037 209.477 173.592 c 209.477 175.146 210.734 176.404
212.289 176.404 c 213.844 176.404 215.102 175.146 215.102 173.592 c h
f
q 1 0 0 -1 0 211.017456 cm
215.102 37.426 m 215.102 38.98 213.844 40.238 212.289 40.238 c 210.734
40.238 209.477 38.98 209.477 37.426 c 209.477 35.871 210.734 34.613 212.289
34.613 c 213.844 34.613 215.102 35.871 215.102 37.426 c h
S Q
q 1 0 0 -1 0 211.017456 cm
87.859 147.73 m 3.051 79.859 l 87.859 26.113 l h
S Q
q 1 0 0 -1 0 211.017456 cm
212.289 37.426 m 87.859 74.172 l 87.859 190.102 l 186.852 159.043 l h
S Q
90.52 137.099 m 90.52 135.545 89.262 134.287 87.707 134.287 c 86.152 134.287
84.895 135.545 84.895 137.099 c 84.895 138.654 86.152 139.912 87.707 139.912
c 89.262 139.912 90.52 138.654 90.52 137.099 c h
f
q 1 0 0 -1 0 211.017456 cm
90.52 73.918 m 90.52 75.473 89.262 76.73 87.707 76.73 c 86.152 76.73 84.895
75.473 84.895 73.918 c 84.895 72.363 86.152 71.105 87.707 71.105 c 89.262
71.105 90.52 72.363 90.52 73.918 c h
S Q
90.293 63.764 m 90.293 62.213 89.031 60.951 87.477 60.951 c 85.926 60.951
84.664 62.213 84.664 63.764 c 84.664 65.318 85.926 66.576 87.477 66.576
c 89.031 66.576 90.293 65.318 90.293 63.764 c h
f
q 1 0 0 -1 0 211.017456 cm
90.293 147.254 m 90.293 148.805 89.031 150.066 87.477 150.066 c 85.926
150.066 84.664 148.805 84.664 147.254 c 84.664 145.699 85.926 144.441 87.477
144.441 c 89.031 144.441 90.293 145.699 90.293 147.254 c h
S Q
Q Q
showpage
%%Trailer
end restore
%%EOF
This diff is collapsed.
......@@ -17,7 +17,7 @@
\usepackage{graphicx}
\DeclareGraphicsExtensions{.pdf, .eps, .jpg}
\DeclareGraphicsExtensions{.pdf, .png, .jpg}
\newcommand{\C}{\mathbb{C}}
\newcommand{\R}{\mathbb{R}}
......@@ -54,11 +54,11 @@ Oliver Sander$^\ddagger$}
\publishers{%
\vspace{10mm}
%\includegraphics[width=0.32\textwidth]{EPS/alberta2d-view2}\hfill
\includegraphics[width=0.32\textwidth]{EPS/ug2dtri-view2}\hfill
\includegraphics[width=0.32\textwidth]{EPS/adaptiveintegration_alberta2d}\hfill
\includegraphics[width=0.32\textwidth]{EPS/alucube3d}
%\includegraphics[width=0.32\textwidth]{EPS/ug2dquad-view2}
%\includegraphics[width=0.32\textwidth]{img/alberta2d-view2}\hfill
\includegraphics[width=0.32\textwidth]{img/ug2dtri-view2}\hfill
\includegraphics[width=0.32\textwidth]{img/adaptiveintegration_alberta2d}\hfill
\includegraphics[width=0.32\textwidth]{img/alucube3d}
%\includegraphics[width=0.32\textwidth]{img/ug2dquad-view2}
\\
\vspace{10mm}
{\normalsize $^\ast$Abteilung `Simulation gro\ss er Systeme',
......@@ -322,7 +322,7 @@ numberstyle=\tiny, numbersep=5pt]{../gettingstarted.cc}
This program is quite simple. It starts with some includes in lines
\ref{gs:inc0}-\ref{gs:inc1}. The file \lstinline!config.h! has been
produced by the \lstinline!configure! script in the application's
produced by the CMake
build system. It contains the current configuration and can be used to
compile different versions of your code depending on the configuration
selected. It is important that this file is included before any other
......@@ -1854,7 +1854,7 @@ numberstyle=\tiny, numbersep=5pt]{../evolve.hh}
\begin{figure}
\begin{center}
\begin{overpic}[width=0.48\textwidth]{EPS/intersection}
\begin{overpic}[width=0.48\textwidth]{img/intersection}
\put(60,38){$\omega_i$}
\put(22,55){$\omega_j$}
\put(43,46){$\gamma_{ij}$}
......@@ -2071,14 +2071,14 @@ When you visualize your results, you should get something like figure \ref{Fig:F
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth]{EPS/fem2d}
\includegraphics[width=0.8\textwidth]{img/fem2d}
\caption{Solution in 2D}
\label{Fig:FEM1}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth]{EPS/fem3d}
\includegraphics[width=0.8\textwidth]{img/fem3d}
\caption{Solution in 3D}
\label{Fig:FEM2}
\end{figure}
......@@ -2202,8 +2202,8 @@ incorporated. And that with just about 100 lines of code including
comments.
\begin{figure}
\includegraphics[width=0.48\textwidth]{EPS/adaptiveintegration_alberta2d}\hfill
\includegraphics[width=0.48\textwidth]{EPS/adaptiveintegration_ug3d}
\includegraphics[width=0.48\textwidth]{img/adaptiveintegration_alberta2d}\hfill
\includegraphics[width=0.48\textwidth]{img/adaptiveintegration_ug3d}
\caption{Two and three-dimensional grids generated by the adaptive
integration algorithm applied to the needle pulse. Left grid is
generated using Alberta, right grid is generated using UG.}
......@@ -2390,7 +2390,7 @@ Rest & \textit{ghost}\\
\begin{figure}
\centering
\begin{overpic}[width=\textwidth]{EPS/partitionsingle}
\begin{overpic}[width=\textwidth]{img/partitionsingle}
\put(12,62){$c=0$}
\put(45,62){$c=1$}
\put(80,62){$c=2$}
......@@ -2620,18 +2620,18 @@ is an equal amount of grid elements.
\begin{figure}
\centering
\includegraphics[width=0.32\textwidth]{EPS/alberta2d}\
\includegraphics[width=0.32\textwidth]{EPS/ugsimplex2d}\
\includegraphics[width=0.32\textwidth]{EPS/ugcube2d}
\includegraphics[width=0.32\textwidth]{img/alberta2d}\
\includegraphics[width=0.32\textwidth]{img/ugsimplex2d}\
\includegraphics[width=0.32\textwidth]{img/ugcube2d}
\includegraphics[width=0.32\textwidth]{EPS/alberta3d}\
\includegraphics[width=0.32\textwidth]{EPS/alusimplex3d}\
\includegraphics[width=0.32\textwidth]{EPS/alucube3d}
\includegraphics[width=0.32\textwidth]{img/alberta3d}\
\includegraphics[width=0.32\textwidth]{img/alusimplex3d}\
\includegraphics[width=0.32\textwidth]{img/alucube3d}
\includegraphics[width=0.32\textwidth]{EPS/ugsimplex3d}\
\includegraphics[width=0.32\textwidth]{EPS/ugcube3d}\
\includegraphics[width=0.32\textwidth]{EPS/iso}
\includegraphics[width=0.32\textwidth]{img/ugsimplex3d}\
\includegraphics[width=0.32\textwidth]{img/ugcube3d}\
\includegraphics[width=0.32\textwidth]{img/iso}
\caption{Adaptive solution of an elliptic model problem with $P_1$
conforming finite elements and residual based error
......
set(PNG_IMGS intersection.png partitionsingle.png)
inkscape_generate_png_from_svg(
DPI 180
${PNG_IMGS})
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#include <config.h> // file generated by CMake
#include <config.h> // file generated by CMake /*@\label{gs:inc0}@*/
#include <array>
#include <memory>
#include <dune/common/parallel/mpihelper.hh> // include mpi helper class
......