diff --git a/doc/manual/figures/elements/hexahedron_8.pdf b/doc/manual/figures/elements/hexahedron_8.pdf index 9bc4259e3..e3ca1630c 100644 Binary files a/doc/manual/figures/elements/hexahedron_8.pdf and b/doc/manual/figures/elements/hexahedron_8.pdf differ diff --git a/doc/manual/figures/elements/hexahedron_8.svg b/doc/manual/figures/elements/hexahedron_8.svg index ec8e19014..cc2b0b6f0 100644 --- a/doc/manual/figures/elements/hexahedron_8.svg +++ b/doc/manual/figures/elements/hexahedron_8.svg @@ -1,2647 +1,2648 @@ image/svg+xml + transform="matrix(0.63486465,0,0,0.63486465,400.18757,-63.85722)"> + transform="matrix(0.89898115,0,0,0.95005284,-52.393397,198.63567)"> + transform="translate(56.995603,98.19227)"> + transform="matrix(0.90522474,0,0,0.90522474,184.09357,204.3328)"> + transform="matrix(0.90522474,0,0,0.90522474,118.18097,206.3328)"> + transform="translate(123.35271,98.19227)"> + transform="matrix(0.90522474,0,0,0.90522474,184.09357,97.16316)"> + transform="matrix(0.90522474,0,0,0.90522474,118.18097,97.16316)"> + transform="translate(123.35271,209.92144)"> + transform="translate(56.995603,209.92144)"> + transform="matrix(0.63486465,0,0,0.63486465,222.33146,-53.61223)" + style="opacity:0.5;fill:#b4b4b4;fill-opacity:1"> + d="m 345.93629,292.62233 0,-74.4091" + id="path5641" + sodipodi:nodetypes="cc" /> + + + + id="g5625-7" + transform="matrix(0.63486465,0,0,0.63486465,222.33146,-53.61223)" + style="fill:none"> + + + + + + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-4)" /> + id="g9871-5" + transform="matrix(1.0276716,0,0,1.0276716,-61.828875,213.53282)"> + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-8)" /> + id="g9871-9" + transform="matrix(1.0276716,0,0,1.0276716,-165.58473,213.53282)"> + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-42)" /> + id="g9871-4" + transform="matrix(1.0276716,0,0,1.0276716,-165.58473,56.896762)"> + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-9)" /> + id="g9871-0" + transform="matrix(1.0276716,0,0,1.0276716,-61.828875,56.896762)"> + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-2)" /> + id="g9871" + transform="matrix(0.89898115,0,0,0.95005284,50.813914,42.593455)"> + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-3)" /> + id="g9871-7" + transform="matrix(0.89898115,0,0,0.95005284,-52.393397,42.593455)"> + style="fill:#000000;fill-opacity:0.34567901;stroke-width:1;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:0.44705882;stroke-dasharray:none;stroke-dashoffset:0;filter:url(#filter12439-4-5)" /> - - - - - - - - diff --git a/doc/manual/figures/elements/quadrangle_4.pdf b/doc/manual/figures/elements/quadrangle_4.pdf new file mode 100644 index 000000000..9a8a6abac Binary files /dev/null and b/doc/manual/figures/elements/quadrangle_4.pdf differ diff --git a/doc/manual/figures/elements/quadrangle_4.svg b/doc/manual/figures/elements/quadrangle_4.svg new file mode 100644 index 000000000..902b5de20 --- /dev/null +++ b/doc/manual/figures/elements/quadrangle_4.svg @@ -0,0 +1,821 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/manual/figures/elements/quadrangle_8.pdf b/doc/manual/figures/elements/quadrangle_8.pdf new file mode 100644 index 000000000..52ffa4a47 Binary files /dev/null and b/doc/manual/figures/elements/quadrangle_8.pdf differ diff --git a/doc/manual/figures/elements/quadrangle_8.svg b/doc/manual/figures/elements/quadrangle_8.svg new file mode 100644 index 000000000..96cc6a3c9 --- /dev/null +++ b/doc/manual/figures/elements/quadrangle_8.svg @@ -0,0 +1,969 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/manual/figures/elements/segment_2.pdf b/doc/manual/figures/elements/segment_2.pdf new file mode 100644 index 000000000..800a1bf8d Binary files /dev/null and b/doc/manual/figures/elements/segment_2.pdf differ diff --git a/doc/manual/figures/elements/segment_2.svg b/doc/manual/figures/elements/segment_2.svg new file mode 100644 index 000000000..63ae68b1a --- /dev/null +++ b/doc/manual/figures/elements/segment_2.svg @@ -0,0 +1,782 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/doc/manual/figures/elements/segment_3.pdf b/doc/manual/figures/elements/segment_3.pdf new file mode 100644 index 000000000..e6d52bf0d Binary files /dev/null and b/doc/manual/figures/elements/segment_3.pdf differ diff --git a/doc/manual/figures/elements/segment_3.svg b/doc/manual/figures/elements/segment_3.svg new file mode 100644 index 000000000..a78d8b41a --- /dev/null +++ b/doc/manual/figures/elements/segment_3.svg @@ -0,0 +1,806 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/manual/figures/elements/temp.pdf b/doc/manual/figures/elements/temp.pdf new file mode 100644 index 000000000..b64ca9ba4 Binary files /dev/null and b/doc/manual/figures/elements/temp.pdf differ diff --git a/doc/manual/figures/elements/tetrahedron_10.pdf b/doc/manual/figures/elements/tetrahedron_10.pdf index cdae70651..194f3de02 100644 Binary files a/doc/manual/figures/elements/tetrahedron_10.pdf and b/doc/manual/figures/elements/tetrahedron_10.pdf differ diff --git a/doc/manual/figures/elements/tetrahedron_10.svg b/doc/manual/figures/elements/tetrahedron_10.svg index 91dad8b24..2cc1061e0 100644 --- a/doc/manual/figures/elements/tetrahedron_10.svg +++ b/doc/manual/figures/elements/tetrahedron_10.svg @@ -1,2581 +1,2581 @@ image/svg+xml + transform="matrix(0.92382085,0,0,0.92382085,-63.518595,186.07287)"> + transform="matrix(0.89604605,0,0,0.89604605,145.29677,173.67972)"> + transform="matrix(0.87303476,0,0,0.87303476,42.024174,148.54964)"> + transform="matrix(0.94156741,0,0,0.94156741,-64.462603,88.128581)"> + transform="matrix(0.94156741,0,0,0.94156741,25.638563,180.05804)"> diff --git a/doc/manual/figures/elements/tetrahedron_4.pdf b/doc/manual/figures/elements/tetrahedron_4.pdf index 79fb3aaf1..9aab86df6 100644 Binary files a/doc/manual/figures/elements/tetrahedron_4.pdf and b/doc/manual/figures/elements/tetrahedron_4.pdf differ diff --git a/doc/manual/figures/elements/tetrahedron_4.svg b/doc/manual/figures/elements/tetrahedron_4.svg index 5276d0e87..a865a0671 100644 --- a/doc/manual/figures/elements/tetrahedron_4.svg +++ b/doc/manual/figures/elements/tetrahedron_4.svg @@ -1,1246 +1,1246 @@ + sodipodi:docname="tetrahedron_4.pdf"> image/svg+xml - + + transform="matrix(0.84764171,0,0,0.84764171,52.404704,155.07231)"> diff --git a/doc/manual/figures/elements/triangle_3.pdf b/doc/manual/figures/elements/triangle_3.pdf new file mode 100644 index 000000000..ee7a91551 Binary files /dev/null and b/doc/manual/figures/elements/triangle_3.pdf differ diff --git a/doc/manual/figures/elements/triangle_3.svg b/doc/manual/figures/elements/triangle_3.svg new file mode 100644 index 000000000..eb95e62d6 --- /dev/null +++ b/doc/manual/figures/elements/triangle_3.svg @@ -0,0 +1,755 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/doc/manual/figures/elements/triangle_6.pdf b/doc/manual/figures/elements/triangle_6.pdf new file mode 100644 index 000000000..0d5bb1924 Binary files /dev/null and b/doc/manual/figures/elements/triangle_6.pdf differ diff --git a/doc/manual/figures/elements/triangle_6.svg b/doc/manual/figures/elements/triangle_6.svg new file mode 100644 index 000000000..3842bb6c5 --- /dev/null +++ b/doc/manual/figures/elements/triangle_6.svg @@ -0,0 +1,849 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/manual/manual-elements.tex b/doc/manual/manual-appendix-elements.tex similarity index 79% copy from doc/manual/manual-elements.tex copy to doc/manual/manual-appendix-elements.tex index 27397ea1a..b4f821915 100644 --- a/doc/manual/manual-elements.tex +++ b/doc/manual/manual-appendix-elements.tex @@ -1,314 +1,359 @@ -\section{Elements\index{Elements}} +\chapter{Isoparametric Elements\index{Elements}} +\label{app:elements} -The base for every finite element computation is its mesh and the elements that are used within that mesh. What kind of element types can be used depends on the mesh, but also on the dimensionality of the problem (1D, 2D or 3D). In \akantu several isoparametric Langrangian element types are supported. Each of these types is discussed in more detail below, starting with the 1D-elements all the way to the 3D-elements. For each element type the coordinates of the nodes are given in the isoparametric frame of reference, together with the shape functions (and their derivatives) on these respective nodes. Also all the quadrature points within each element are listed (together with the weight that is applied on these points). +The base for every finite element computation is its mesh and the elements that are used within that mesh. What kind of element types can be used depends on the mesh, but also on the dimensionality of the problem (1D, 2D or 3D). In \akantu several isoparametric Langrangian element types are supported. Each of these types is discussed in more detail below, starting with the 1D-elements all the way to the 3D-elements. For each element type the coordinates of the nodes are given in the isoparametric frame of reference, together with the shape functions (and their derivatives) on these respective nodes. Also all the Gaussian quadrature points within each element are listed (together with the weight that is applied on these points). %%%%%%%%%% 1D %%%%%%%%% -\subsection{Isoparametric Elements in 1D\index{Elements!1D}} +\section{Isoparametric Elements in 1D\index{Elements!1D}} -In \akantu there are two types of isoparametric elements defined in 1D. These element types are called \code{segment\_2} and \code{segment\_3}. +In \akantu there are two types of isoparametric elements defined in 1D. These element types are called \code{segment\_2} and \code{segment\_3} and are depicted in Figure~\ref{fig:app:elements:1D}. -\subsubsection{Segment 2\index{Elements!1D!Segment 2}} +\begin{figure}[!htb] +\begin{center} +\begin{tabular}{m{0.3\textwidth}m{0.1\textwidth}m{0.3\textwidth}} +\subfloat[\code{segment\_2}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/segment_2} + \label{fig:elements:segment2} +} & & +\subfloat[\code{segment\_3}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/segment_3} + \label{fig:elements:segment3} +} +\end{tabular} +\end{center} +\caption{A schematic overview of the three supported 1D element types in \akantu. In each element the node numbering as used in \akantu is indicated and also the quadrature points are highlighted (gray circles). This figure is the same as Figure~\ref{fig:elements:1D} and is repeated here for convience.} +\label{fig:app:elements:1D} +\end{figure} + +\subsection{Segment 2\index{Elements!1D!Segment 2}} \begin{Element}{1D} 1 & \inelemone{-1} & $\half\left(1-\xi\right)$ & \inelemone{-\half} \\ \elemline 2 & \inelemone{1} & $\half\left(1+\xi\right)$ & \inelemone{\half} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|c} Coord. \elemcooroned & 0 \\ \elemline Weight & 2 \\ \end{tabular} \end{QuadPoints} -\subsubsection{Segment 3\index{Elements!1D!Segment 3}} +\subsection{Segment 3\index{Elements!1D!Segment 3}} \begin{Element}{1D} 1 & \inelemone{-1} & $\half\xi\left(\xi-1\right)$ & \inelemone{\xi-\half} \\ \elemline 2 & \inelemone{1} & $\half\xi\left(\xi+1\right)$ & \inelemone{\xi+\half} \\ \elemline 3 & \inelemone{0} & $1-\xi^{2}$ & \inelemone{-2\xi} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|cc} Coord. \elemcooroned & $-1/\sqrt{3}$ & $1/\sqrt{3}$ \\ \elemline Weight & 1 & 1 \\ \end{tabular} \end{QuadPoints} %%%%%%%%%% 2D %%%%%%%%% -\subsection{Isoparametric Elements in 2D\index{Elements!2D}} +\section{Isoparametric Elements in 2D\index{Elements!2D}} + +In \akantu there are four types of isoparametric elements defined in 2D. These element types are called \code{triangle\_3}, \code{triangle\_6}, \code{quadrangle\_4} and \code{quadrangle\_8} and are depicted in Figure~\ref{fig:app:elements:2D}. -In \akantu there are four types of isoparametric elements defined in 2D. These element types are called \code{triangle\_3}, \code{triangle\_6}, \code{quadrangle\_4} and \code{quadrangle\_8}. +\begin{figure}[!htb] +\begin{center} +\begin{tabular}{m{0.3\textwidth}m{0.1\textwidth}m{0.3\textwidth}} +\subfloat[\code{triangle\_3}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/triangle_3} + \label{fig:elements:triangle3} +} & & +\subfloat[\code{triangle\_6}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/triangle_6} + \label{fig:elements:triangle6} +} \\ +\subfloat[\code{quadrangle\_4}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/quadrangle_4} + \label{fig:elements:quadrangle4} +} & & +\subfloat[\code{quadrangle\_8}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/quadrangle_8} + \label{fig:elements:quadrangle8} +} +\end{tabular} +\end{center} +\caption{A schematic overview of the four supported 2D element types in \akantu. In each element the node numbering as used in \akantu is indicated and also the quadrature points are highlighted (gray circles). This figure is the same as Figure~\ref{fig:elements:2D} and is repeated here for convience.} +\label{fig:app:elements:2D} +\end{figure} -\subsubsection{Triangle 3\index{Elements!2D!Triangle 3}} +\clearpage +\subsection{Triangle 3\index{Elements!2D!Triangle 3}} \begin{Element}{2D} 1 & \inelemtwo{0}{0} & $1-\xi-\eta$ & \inelemtwo{-1}{-1} \\ \elemline 2 & \inelemtwo{1}{0} & $\xi$ & \inelemtwo{1}{0} \\ \elemline 3 & \inelemtwo{0}{1} & $\eta$ & \inelemtwo{0}{1} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|c} Coord. \elemcoortwod & \inquadtwo{\third}{\third} \\ \elemline Weight & 1 \\ \end{tabular} \end{QuadPoints} -\subsubsection{Triangle 6\index{Elements!2D!Triangle 6}} +\subsection{Triangle 6\index{Elements!2D!Triangle 6}} \begin{Element}{2D} 1 & \inelemtwo{0}{0} & $-\left(1-\xi-\eta\right)\left(1-2\left(1-\xi-\eta\right)\right)$ & \inelemtwo{1-4\left(1-\xi-\eta\right)}{1-4\left(1-\xi-\eta\right)} \\ \elemline 2 & \inelemtwo{1}{0} & $-\xi\left(1-2\xi\right)$ & \inelemtwo{4\xi-1}{0} \\ \elemline 3 & \inelemtwo{0}{1} & $-\eta\left(1-2\eta\right)$ & \inelemtwo{0}{4\eta-1} \\ \elemline 4 & \inelemtwo{\half}{0} & $4\xi\left(1-\xi-\eta\right)$ & \inelemtwo{4\left(1-2\xi-\eta\right)}{-4\xi} \\ \elemline 5 & \inelemtwo{\half}{\half} & $4\xi\eta$ & \inelemtwo{4\eta}{4\xi} \\ \elemline 6 & \inelemtwo{0}{\half} & $4\eta\left(1-\xi-\eta\right)$ & \inelemtwo{-4\eta}{4\left(1-\xi-2\eta\right)} \\ \elemline \end{Element} \begin{QuadPoints} \begin{tabular}{l|ccc} Coord. \elemcoortwod & \inquadtwo{\sixth}{\sixth} & \inquadtwo{\twothird}{\sixth} & \inquadtwo{\sixth}{\twothird} \\ \elemline Weight & \sixth & \sixth & \sixth \\ \end{tabular} \end{QuadPoints} -\subsubsection{Quadrangle 4\index{Elements!2D!Quadrangle 4}} +\subsection{Quadrangle 4\index{Elements!2D!Quadrangle 4}} \begin{Element}{2D} 1 & \inelemtwo{-1}{-1} & $\quart\left(1-\xi\right)\left(1-\eta\right)$ & \inelemtwo{-\quart\left(1-\eta\right)}{-\quart\left(1-\xi\right)} \\ \elemline 2 & \inelemtwo{1}{-1} & $\quart\left(1+\xi\right)\left(1-\eta\right)$ & \inelemtwo{\quart\left(1-\eta\right)}{-\quart\left(1-\xi\right)} \\ \elemline 3 & \inelemtwo{1}{1} & $\quart\left(1+\xi\right)\left(1+\eta\right)$ & \inelemtwo{\quart\left(1-\eta\right)}{\quart\left(1-\xi\right)} \\ \elemline 4 & \inelemtwo{-1}{1} & $\quart\left(1-\xi\right)\left(1+\eta\right)$ & \inelemtwo{-\quart\left(1-\eta\right)}{\quart\left(1-\xi\right)} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|cccc} \elemcoortwod & \inquadtwo{-\invsqrtthree}{-\invsqrtthree} & \inquadtwo{\invsqrtthree}{-\invsqrtthree} & \inquadtwo{\invsqrtthree}{\invsqrtthree} & \inquadtwo{-\invsqrtthree}{\invsqrtthree} \\ \elemline Weight & 1 & 1 & 1 & 1 \\ \end{tabular} \end{QuadPoints} -\subsubsection{Quadrangle 8\index{Elements!2D!Quadrangle 8}} +\clearpage +\subsection{Quadrangle 8\index{Elements!2D!Quadrangle 8}} \begin{Element}{2D} 1 & \inelemtwo{-1}{-1} & $\quart\left(1-\xi\right)\left(1-\eta\right)\left(-1-\xi-\eta\right)$ & \inelemtwo{\quart\left(1-\eta\right)\left(2\xi+\eta\right)} {\quart\left(1-\xi\right)\left(\xi+2\eta\right)} \\ \elemline 2 & \inelemtwo{1}{-1} & $\quart\left(1+\xi\right)\left(1-\eta\right)\left(-1+\xi-\eta\right)$ & \inelemtwo{\quart\left(1-\eta\right)\left(2\xi-\eta\right)} {-\quart\left(1+\xi\right)\left(\xi-2\eta\right)} \\ \elemline 3 & \inelemtwo{1}{1} & $\quart\left(1+\xi\right)\left(1+\eta\right)\left(-1+\xi+\eta\right)$ & \inelemtwo{\quart\left(1+\eta\right)\left(2\xi+\eta\right)} {\quart\left(1+\xi\right)\left(\xi+2\eta\right)} \\ \elemline 4 & \inelemtwo{-1}{1} & $\quart\left(1-\xi\right)\left(1+\eta\right)\left(-1-\xi+\eta\right)$ & \inelemtwo{\quart\left(1+\eta\right)\left(2\xi-\eta\right)} {-\quart\left(1-\xi\right)\left(\xi-2\eta\right)} \\ \elemline 5 & \inelemtwo{0}{-1} & $\half\left(1-\xi^{2}\right)\left(1-\eta\right)$ & \inelemtwo{-\xi\left(1-\eta\right)} {-\half\left(1-\xi^{2}\right)} \\ \elemline 6 & \inelemtwo{1}{0} & $\half\left(1+\xi\right)\left(1-\eta^{2}\right)$ & \inelemtwo{\half\left(1-\eta^{2}\right)} {-\eta\left(1+\xi\right)} \\ \elemline 7 & \inelemtwo{0}{1} & $\half\left(1-\xi^{2}\right)\left(1+\eta\right)$ & \inelemtwo{-\xi\left(1+\eta\right)} {\half\left(1-\xi^{2}\right)} \\ \elemline 8 & \inelemtwo{-1}{0} & $\half\left(1-\xi\right)\left(1-\eta^{2}\right)$ & \inelemtwo{-\half\left(1-\eta^{2}\right)} {-\eta\left(1-\xi\right)} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|ccccc} Coord. \elemcoortwod & \inquadtwo{0}{0} & \inquadtwo{\sqrt{\tfrac{3}{5}}}{\sqrt{\tfrac{3}{5}}} & \inquadtwo{-\sqrt{\tfrac{3}{5}}}{\sqrt{\tfrac{3}{5}}} & \inquadtwo{-\sqrt{\tfrac{3}{5}}}{-\sqrt{\tfrac{3}{5}}} & \inquadtwo{\sqrt{\tfrac{3}{5}}}{-\sqrt{\tfrac{3}{5}}} \\ \elemline Weight & 64/81 & 25/81 & 25/81 & 25/81 & 25/81 \\ \elemline Coord. \elemcoortwod & \inquadtwo{0}{\sqrt{\tfrac{3}{5}}} & \inquadtwo{-\sqrt{\tfrac{3}{5}}}{0} & \inquadtwo{0}{-\sqrt{\tfrac{3}{5}}} & \inquadtwo{\sqrt{\tfrac{3}{5}}}{0} & \\ \elemline Weight & 40/81 & 40/81 & 40/81 & 40/81 & \\ \end{tabular} \end{QuadPoints} %%%%%%%%%% 3D %%%%%%%%% -\subsection{Isoparametric Elements in 3D\index{Elements!3D}} +\section{Isoparametric Elements in 3D\index{Elements!3D}} + +In \akantu there are three types of isoparametric elements defined in 3D. These element types are called \code{tetrahedron\_4}, \code{tetrahedron\_10} and \code{hexahedron\_8} and all of them are depicted schematically in Figure~\ref{fig:app:elements:3D}. -\begin{figure} +\begin{figure}[!htb] \begin{center} \begin{tabular}{m{0.3\textwidth}m{0.3\textwidth}m{0.3\textwidth}} -\subfloat[Tetrahedron-4]{ +\subfloat[\code{tetrahedron\_4}]{ \includegraphics[width=0.3\textwidth]{figures/elements/tetrahedron_4} \label{fig:elements:tetrahedron4} } & -\subfloat[Tetrahedron-10]{ +\subfloat[\code{tetrahedron\_10}]{ \includegraphics[width=0.3\textwidth]{figures/elements/tetrahedron_10} \label{fig:elements:tetrahedron10} } & -\subfloat[Hexahedron-8]{ +\subfloat[\code{hexahedron\_8}]{ \includegraphics[width=0.3\textwidth]{figures/elements/hexahedron_8} \label{fig:elements:hexahedron8} } \end{tabular} -\caption{Schematic depiction of the three 3D isoparametric elements available in \akantu. In each element the node numbering used in \akantu is indicated and also the quadrature points are highlighted (gray spheres)} +\caption{A schematic overview of the three supported 3D element types in \akantu. In each element the node numbering as used in \akantu is indicated and also the quadrature points are highlighted (gray spheres). This figure is the same as Figure~\ref{fig:elements:3D} and is repeated here for convience.} +\label{fig:app:elements:3D} \end{center} \end{figure} - -\subsubsection{Tetrahedron 4\index{Elements!3D!Tetrahedron 4}} +\clearpage +\subsection{Tetrahedron 4\index{Elements!3D!Tetrahedron 4}} \begin{Element}{3D} 1 & \inelemthree{0}{0}{0} & $1-\xi-\eta-\zeta$ & \inelemthree{-1}{-1}{-1} \\ \elemline 2 & \inelemthree{1}{0}{0} & $\xi$ & \inelemthree{1}{0}{0} \\ \elemline 3 & \inelemthree{0}{1}{0} & $\eta$ & \inelemthree{0}{1}{0} \\ \elemline 4 & \inelemthree{0}{0}{1} & $\zeta$ & \inelemthree{0}{0}{1} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|c} Coord. \elemcoorthreed & \inquadthree{\quart}{\quart}{\quart} \\ \elemline Weight & \sixth \\ \end{tabular} \end{QuadPoints} -\subsubsection{Tetrahedron 10\index{Elements!3D!Tetrahedron 10}} +\subsection{Tetrahedron 10\index{Elements!3D!Tetrahedron 10}} \begin{Element}{3D} 1 & \inelemthree{0}{0}{0} & $\left(1-\xi-\eta-\zeta\right)\left(1-2\xi-2\eta-2\zeta\right)$ & \inelemthree{4\xi+4\eta+4\zeta-3}{4\xi+4\eta+4\zeta-3}{4\xi+4\eta+4\zeta-3} \\ \elemline 2 & \inelemthree{1}{0}{0} & $\xi\left(2\xi-1\right)$ & \inelemthree{4\xi-1}{0}{0} \\ \elemline 3 & \inelemthree{0}{1}{0} & $\eta\left(2\eta-1\right)$ & \inelemthree{0}{4\eta-1}{0} \\ \elemline 4 & \inelemthree{0}{0}{1} & $\zeta\left(2\zeta-1\right)$ & \inelemthree{0}{0}{4\zeta-1} \\ \elemline 5 & \inelemthree{\half}{0}{0} & $4\xi\left(1-\xi-\eta-\zeta\right)$ & \inelemthree{4-8\xi-4\eta-4\zeta}{-4\xi}{-4\xi} \\ \elemline 6 & \inelemthree{\half}{\half}{0} & $4\xi\eta$ & \inelemthree{4\eta}{4\xi}{0} \\ \elemline 7 & \inelemthree{0}{\half}{0} & $4\eta\left(1-\xi-\eta-\zeta\right)$ & \inelemthree{-4\eta}{4-4\xi-8\eta-4\zeta}{-4\eta} \\ \elemline 8 & \inelemthree{0}{0}{\half} & $4\zeta\left(1-\xi-\eta-\zeta\right)$ & \inelemthree{-4\zeta}{-4\zeta}{4-4\xi-4\eta-8\zeta} \\ \elemline 9 & \inelemthree{\half}{0}{\half} & $4\xi\zeta$ & \inelemthree{4\zeta}{0}{4\xi} \\ \elemline 10 & \inelemthree{0}{\half}{\half} & $4\eta\zeta$ & \inelemthree{0}{4\zeta}{4\eta} \\ \end{Element} \begin{QuadPoints} -%\newcommand\quada{\tfrac{1}{20}\left(5-\sqrt{5}\right)} -%\newcommand\quadb{\tfrac{1}{20}\left(5+3\sqrt{5}\right)} -\newcommand\quada{\tfrac{\left(5-\sqrt{5}\right)}{20}} -\newcommand\quadb{\tfrac{\left(5+3\sqrt{5}\right)}{20}} \begin{tabular}{l|cc} Coord. \elemcoorthreed & \inquadthree{\quada}{\quada}{\quada} & \inquadthree{\quadb}{\quada}{\quada} \\ \elemline Weight & 1/24 & 1/24 \\ \elemline Coord. \elemcoorthreed & \inquadthree{\quada}{\quadb}{\quada} & \inquadthree{\quada}{\quada}{\quadb} \\ \elemline Weight & 1/24 & 1/24 \\ \end{tabular} \end{QuadPoints} -\subsubsection{Hexahedron 8\index{Elements!3D!Hexahedron 8}} +\clearpage +\subsection{Hexahedron 8\index{Elements!3D!Hexahedron 8}} \begin{Element}{3D} 1 & \inelemthree{-1}{-1}{-1} & $\eighth\left(1-\xi\right)\left(1-\eta\right)\left(1-\zeta\right)$ & \inelemthree{-\eighth\left(1-\eta\right)\left(1-\zeta\right)} {-\eighth\left(1-\xi\right)\left(1-\zeta\right)} {-\eighth\left(1-\xi\right)\left(1-\eta\right)} \\ \elemline 2 & \inelemthree{1}{-1}{-1} & $\eighth\left(1+\xi\right)\left(1-\eta\right)\left(1-\zeta\right)$ & \inelemthree{ \eighth\left(1-\eta\right)\left(1-\zeta\right)} {-\eighth\left(1+\xi\right)\left(1-\zeta\right)} {-\eighth\left(1+\xi\right)\left(1-\eta\right)} \\ \elemline 3 & \inelemthree{1}{1}{-1} & $\eighth\left(1+\xi\right)\left(1+\eta\right)\left(1-\zeta\right)$ & \inelemthree{ \eighth\left(1+\eta\right)\left(1-\zeta\right)} { \eighth\left(1+\xi\right)\left(1-\zeta\right)} {-\eighth\left(1+\xi\right)\left(1+\eta\right)} \\ \elemline 4 & \inelemthree{-1}{1}{-1} & $\eighth\left(1-\xi\right)\left(1+\eta\right)\left(1-\zeta\right)$ & \inelemthree{-\eighth\left(1+\eta\right)\left(1-\zeta\right)} { \eighth\left(1-\xi\right)\left(1-\zeta\right)} {-\eighth\left(1-\xi\right)\left(1+\eta\right)} \\ \elemline 5 & \inelemthree{-1}{-1}{1} & $\eighth\left(1-\xi\right)\left(1-\eta\right)\left(1+\zeta\right)$ & \inelemthree{-\eighth\left(1-\eta\right)\left(1+\zeta\right)} {-\eighth\left(1-\xi\right)\left(1+\zeta\right)} { \eighth\left(1-\xi\right)\left(1-\eta\right)} \\ \elemline 6 & \inelemthree{1}{-1}{1} & $\eighth\left(1+\xi\right)\left(1-\eta\right)\left(1+\zeta\right)$ & \inelemthree{ \eighth\left(1-\eta\right)\left(1+\zeta\right)} {-\eighth\left(1+\xi\right)\left(1+\zeta\right)} { \eighth\left(1+\xi\right)\left(1-\eta\right)} \\ \elemline 7 & \inelemthree{1}{1}{1} & $\eighth\left(1+\xi\right)\left(1+\eta\right)\left(1+\zeta\right)$ & \inelemthree{ \eighth\left(1+\eta\right)\left(1+\zeta\right)} { \eighth\left(1+\xi\right)\left(1+\zeta\right)} { \eighth\left(1+\xi\right)\left(1+\eta\right)} \\ \elemline 8 & \inelemthree{-1}{1}{1} & $\eighth\left(1-\xi\right)\left(1+\eta\right)\left(1+\zeta\right)$ & \inelemthree{-\eighth\left(1+\eta\right)\left(1+\zeta\right)} { \eighth\left(1-\xi\right)\left(1+\zeta\right)} { \eighth\left(1-\xi\right)\left(1+\eta\right)} \\ \end{Element} \begin{QuadPoints} \begin{tabular}{l|cccc} \elemcoortwod & \inquadthree{-\invsqrtthree}{-\invsqrtthree}{-\invsqrtthree} & \inquadthree{\invsqrtthree}{-\invsqrtthree}{-\invsqrtthree} & \inquadthree{\invsqrtthree}{\invsqrtthree}{-\invsqrtthree} & \inquadthree{-\invsqrtthree}{\invsqrtthree}{-\invsqrtthree} \\ \elemline Weight & 1 & 1 & 1 & 1 \\ \elemline \elemcoortwod & \inquadthree{-\invsqrtthree}{-\invsqrtthree}{\invsqrtthree} & \inquadthree{\invsqrtthree}{-\invsqrtthree}{\invsqrtthree} & \inquadthree{\invsqrtthree}{\invsqrtthree}{\invsqrtthree} & \inquadthree{-\invsqrtthree}{\invsqrtthree}{\invsqrtthree} \\ \elemline Weight & 1 & 1 & 1 & 1 \\ \end{tabular} \end{QuadPoints} diff --git a/doc/manual/manual-elements.tex b/doc/manual/manual-elements.tex index 27397ea1a..6e3c268ec 100644 --- a/doc/manual/manual-elements.tex +++ b/doc/manual/manual-elements.tex @@ -1,314 +1,125 @@ \section{Elements\index{Elements}} -The base for every finite element computation is its mesh and the elements that are used within that mesh. What kind of element types can be used depends on the mesh, but also on the dimensionality of the problem (1D, 2D or 3D). In \akantu several isoparametric Langrangian element types are supported. Each of these types is discussed in more detail below, starting with the 1D-elements all the way to the 3D-elements. For each element type the coordinates of the nodes are given in the isoparametric frame of reference, together with the shape functions (and their derivatives) on these respective nodes. Also all the quadrature points within each element are listed (together with the weight that is applied on these points). +The base for every finite element computation is its mesh and the elements that are used within that mesh. What kind of element types can be used depends on the mesh, but also on the dimensionality of the problem (1D, 2D or 3D). In \akantu several isoparametric Langrangian element types are supported. Each of these types is discussed in some detail below, starting with the 1D-elements all the way to the 3D-elements. More detailed information (shape function, location of Gaussian quadrature points, and so on) can be found in Appendix~\ref{app:elements}. %%%%%%%%%% 1D %%%%%%%%% \subsection{Isoparametric Elements in 1D\index{Elements!1D}} -In \akantu there are two types of isoparametric elements defined in 1D. These element types are called \code{segment\_2} and \code{segment\_3}. +In \akantu there are two types of isoparametric elements defined in 1D. These element types are called \code{segment\_2} and \code{segment\_3} and are depicted schematically in Figure~\ref{fig:elements:1D}. Some of the basic properties of these elements are listed in Table~\ref{tab:elements:1D}. -\subsubsection{Segment 2\index{Elements!1D!Segment 2}} - -\begin{Element}{1D} - 1 & \inelemone{-1} & $\half\left(1-\xi\right)$ & \inelemone{-\half} \\ -\elemline - 2 & \inelemone{1} & $\half\left(1+\xi\right)$ & \inelemone{\half} \\ -\end{Element} - -\begin{QuadPoints} -\begin{tabular}{l|c} -Coord. \elemcooroned & 0 \\ -\elemline -Weight & 2 \\ +\begin{figure}[!htb] +\begin{center} +\begin{tabular}{m{0.3\textwidth}m{0.1\textwidth}m{0.3\textwidth}} +\subfloat[\code{segment\_2}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/segment_2} + \label{fig:elements:segment2} +} & & +\subfloat[\code{segment\_3}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/segment_3} + \label{fig:elements:segment3} +} \end{tabular} -\end{QuadPoints} - -\subsubsection{Segment 3\index{Elements!1D!Segment 3}} - -\begin{Element}{1D} - 1 & \inelemone{-1} & $\half\xi\left(\xi-1\right)$ & \inelemone{\xi-\half} \\ -\elemline - 2 & \inelemone{1} & $\half\xi\left(\xi+1\right)$ & \inelemone{\xi+\half} \\ -\elemline - 3 & \inelemone{0} & $1-\xi^{2}$ & \inelemone{-2\xi} \\ -\end{Element} +\end{center} +\caption{A schematic overview of the three supported 1D element types in \akantu. In each element the node numbering as used in \akantu is indicated and also the quadrature points are highlighted (gray circles).} +\label{fig:elements:1D} +\end{figure} -\begin{QuadPoints} -\begin{tabular}{l|cc} -Coord. \elemcooroned & $-1/\sqrt{3}$ & $1/\sqrt{3}$ \\ -\elemline -Weight & 1 & 1 \\ +\begin{table}[!htb] +\begin{center} +\begin{tabular}{l||c|c|c} +Element type & Order & \# nodes & \# quad. points \\ +\hline +\code{segment\_2} & linear & 2 & 1 \\ +\code{segment\_3} & quadratic & 3 & 2 \\ \end{tabular} -\end{QuadPoints} +\end{center} +\caption{Some basic properties of the two 1D isoparametric elements in \akantu.} +\label{tab:elements:1D} +\end{table} %%%%%%%%%% 2D %%%%%%%%% \subsection{Isoparametric Elements in 2D\index{Elements!2D}} -In \akantu there are four types of isoparametric elements defined in 2D. These element types are called \code{triangle\_3}, \code{triangle\_6}, \code{quadrangle\_4} and \code{quadrangle\_8}. - -\subsubsection{Triangle 3\index{Elements!2D!Triangle 3}} +In \akantu there are four types of isoparametric elements defined in 2D. These element types are called \code{triangle\_3}, \code{triangle\_6}, \code{quadrangle\_4} and \code{quadrangle\_8} and all of them are depicted in Figure~\ref{fig:elements:2D}. As with the 1D elements some of the most basic properties of these elements are listed in Table~\ref{tab:elements:2D}. -\begin{Element}{2D} - 1 & \inelemtwo{0}{0} & $1-\xi-\eta$ & \inelemtwo{-1}{-1} \\ -\elemline - 2 & \inelemtwo{1}{0} & $\xi$ & \inelemtwo{1}{0} \\ -\elemline - 3 & \inelemtwo{0}{1} & $\eta$ & \inelemtwo{0}{1} \\ -\end{Element} - -\begin{QuadPoints} -\begin{tabular}{l|c} -Coord. \elemcoortwod & \inquadtwo{\third}{\third} \\ -\elemline -Weight & 1 \\ -\end{tabular} -\end{QuadPoints} - -\subsubsection{Triangle 6\index{Elements!2D!Triangle 6}} - -\begin{Element}{2D} - 1 & \inelemtwo{0}{0} & $-\left(1-\xi-\eta\right)\left(1-2\left(1-\xi-\eta\right)\right)$ & \inelemtwo{1-4\left(1-\xi-\eta\right)}{1-4\left(1-\xi-\eta\right)} \\ -\elemline - 2 & \inelemtwo{1}{0} & $-\xi\left(1-2\xi\right)$ & \inelemtwo{4\xi-1}{0} \\ -\elemline - 3 & \inelemtwo{0}{1} & $-\eta\left(1-2\eta\right)$ & \inelemtwo{0}{4\eta-1} \\ -\elemline - 4 & \inelemtwo{\half}{0} & $4\xi\left(1-\xi-\eta\right)$ & \inelemtwo{4\left(1-2\xi-\eta\right)}{-4\xi} \\ -\elemline - 5 & \inelemtwo{\half}{\half} & $4\xi\eta$ & \inelemtwo{4\eta}{4\xi} \\ -\elemline - 6 & \inelemtwo{0}{\half} & $4\eta\left(1-\xi-\eta\right)$ & \inelemtwo{-4\eta}{4\left(1-\xi-2\eta\right)} \\ -\elemline -\end{Element} - -\begin{QuadPoints} -\begin{tabular}{l|ccc} -Coord. \elemcoortwod & \inquadtwo{\sixth}{\sixth} & \inquadtwo{\twothird}{\sixth} & \inquadtwo{\sixth}{\twothird} \\ -\elemline -Weight & \sixth & \sixth & \sixth \\ -\end{tabular} -\end{QuadPoints} - -\subsubsection{Quadrangle 4\index{Elements!2D!Quadrangle 4}} - -\begin{Element}{2D} - 1 & \inelemtwo{-1}{-1} & $\quart\left(1-\xi\right)\left(1-\eta\right)$ & \inelemtwo{-\quart\left(1-\eta\right)}{-\quart\left(1-\xi\right)} \\ -\elemline - 2 & \inelemtwo{1}{-1} & $\quart\left(1+\xi\right)\left(1-\eta\right)$ & \inelemtwo{\quart\left(1-\eta\right)}{-\quart\left(1-\xi\right)} \\ -\elemline - 3 & \inelemtwo{1}{1} & $\quart\left(1+\xi\right)\left(1+\eta\right)$ & \inelemtwo{\quart\left(1-\eta\right)}{\quart\left(1-\xi\right)} \\ -\elemline - 4 & \inelemtwo{-1}{1} & $\quart\left(1-\xi\right)\left(1+\eta\right)$ & \inelemtwo{-\quart\left(1-\eta\right)}{\quart\left(1-\xi\right)} \\ -\end{Element} - -\begin{QuadPoints} -\begin{tabular}{l|cccc} -\elemcoortwod & \inquadtwo{-\invsqrtthree}{-\invsqrtthree} & \inquadtwo{\invsqrtthree}{-\invsqrtthree} - & \inquadtwo{\invsqrtthree}{\invsqrtthree} & \inquadtwo{-\invsqrtthree}{\invsqrtthree} \\ -\elemline -Weight & 1 & 1 & 1 & 1 \\ +\begin{figure}[!htb] +\begin{center} +\begin{tabular}{m{0.3\textwidth}m{0.1\textwidth}m{0.3\textwidth}} +\subfloat[\code{triangle\_3}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/triangle_3} + \label{fig:elements:triangle3} +} & & +\subfloat[\code{triangle\_6}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/triangle_6} + \label{fig:elements:triangle6} +} \\ +\subfloat[\code{quadrangle\_4}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/quadrangle_4} + \label{fig:elements:quadrangle4} +} & & +\subfloat[\code{quadrangle\_8}]{ + \includegraphics[width=0.3\textwidth]{figures/elements/quadrangle_8} + \label{fig:elements:quadrangle8} +} \end{tabular} -\end{QuadPoints} - -\subsubsection{Quadrangle 8\index{Elements!2D!Quadrangle 8}} - -\begin{Element}{2D} - 1 & \inelemtwo{-1}{-1} & $\quart\left(1-\xi\right)\left(1-\eta\right)\left(-1-\xi-\eta\right)$ - & \inelemtwo{\quart\left(1-\eta\right)\left(2\xi+\eta\right)} - {\quart\left(1-\xi\right)\left(\xi+2\eta\right)} \\ -\elemline - 2 & \inelemtwo{1}{-1} & $\quart\left(1+\xi\right)\left(1-\eta\right)\left(-1+\xi-\eta\right)$ - & \inelemtwo{\quart\left(1-\eta\right)\left(2\xi-\eta\right)} - {-\quart\left(1+\xi\right)\left(\xi-2\eta\right)} \\ -\elemline - 3 & \inelemtwo{1}{1} & $\quart\left(1+\xi\right)\left(1+\eta\right)\left(-1+\xi+\eta\right)$ - & \inelemtwo{\quart\left(1+\eta\right)\left(2\xi+\eta\right)} - {\quart\left(1+\xi\right)\left(\xi+2\eta\right)} \\ -\elemline - 4 & \inelemtwo{-1}{1} & $\quart\left(1-\xi\right)\left(1+\eta\right)\left(-1-\xi+\eta\right)$ - & \inelemtwo{\quart\left(1+\eta\right)\left(2\xi-\eta\right)} - {-\quart\left(1-\xi\right)\left(\xi-2\eta\right)} \\ -\elemline - 5 & \inelemtwo{0}{-1} & $\half\left(1-\xi^{2}\right)\left(1-\eta\right)$ - & \inelemtwo{-\xi\left(1-\eta\right)} - {-\half\left(1-\xi^{2}\right)} \\ -\elemline - 6 & \inelemtwo{1}{0} & $\half\left(1+\xi\right)\left(1-\eta^{2}\right)$ - & \inelemtwo{\half\left(1-\eta^{2}\right)} - {-\eta\left(1+\xi\right)} \\ -\elemline - 7 & \inelemtwo{0}{1} & $\half\left(1-\xi^{2}\right)\left(1+\eta\right)$ - & \inelemtwo{-\xi\left(1+\eta\right)} - {\half\left(1-\xi^{2}\right)} \\ -\elemline - 8 & \inelemtwo{-1}{0} & $\half\left(1-\xi\right)\left(1-\eta^{2}\right)$ - & \inelemtwo{-\half\left(1-\eta^{2}\right)} - {-\eta\left(1-\xi\right)} \\ -\end{Element} +\end{center} +\caption{A schematic overview of the four supported 2D element types in \akantu. In each element the node numbering as used in \akantu is indicated and also the quadrature points are highlighted (gray circles).} +\label{fig:elements:2D} +\end{figure} -\begin{QuadPoints} -\begin{tabular}{l|ccccc} -Coord. \elemcoortwod & \inquadtwo{0}{0} & \inquadtwo{\sqrt{\tfrac{3}{5}}}{\sqrt{\tfrac{3}{5}}} & \inquadtwo{-\sqrt{\tfrac{3}{5}}}{\sqrt{\tfrac{3}{5}}} - & \inquadtwo{-\sqrt{\tfrac{3}{5}}}{-\sqrt{\tfrac{3}{5}}} & \inquadtwo{\sqrt{\tfrac{3}{5}}}{-\sqrt{\tfrac{3}{5}}} \\ -\elemline -Weight & 64/81 & 25/81 & 25/81 & 25/81 & 25/81 \\ -\elemline -Coord. \elemcoortwod & \inquadtwo{0}{\sqrt{\tfrac{3}{5}}} & \inquadtwo{-\sqrt{\tfrac{3}{5}}}{0} - & \inquadtwo{0}{-\sqrt{\tfrac{3}{5}}} & \inquadtwo{\sqrt{\tfrac{3}{5}}}{0} & \\ -\elemline -Weight & 40/81 & 40/81 & 40/81 & 40/81 & \\ +\begin{table}[!htb] +\begin{center} +\begin{tabular}{l||c|c|c} +Element type & Order & \# nodes & \# quad. points \\ +\hline +\code{triangle\_3} & linear & 3 & 1 \\ +\code{triangle\_6} & quadratic & 6 & 3 \\ +\hline +\code{quadrangle\_4} & quadratic & 4 & 4 \\ +\code{quadrangle\_8} & cubic & 8 & 9 \\ \end{tabular} -\end{QuadPoints} +\end{center} +\caption{Some basic properties of the four 2D isoparametric elements in \akantu.} +\label{tab:elements:2D} +\end{table} %%%%%%%%%% 3D %%%%%%%%% \subsection{Isoparametric Elements in 3D\index{Elements!3D}} -\begin{figure} +In \akantu there are three types of isoparametric elements defined in 3D. These element types are called \code{tetrahedron\_4}, \code{tetrahedron\_10} and \code{hexahedron\_8} and all of them are depicted schematically in Figure~\ref{fig:elements:3D}. As with the 1D and 2D elements some of the most basic properties of these elements are listed in Table~\ref{tab:elements:3D}. + +\begin{figure}[!htb] \begin{center} \begin{tabular}{m{0.3\textwidth}m{0.3\textwidth}m{0.3\textwidth}} -\subfloat[Tetrahedron-4]{ +\subfloat[\code{tetrahedron\_4}]{ \includegraphics[width=0.3\textwidth]{figures/elements/tetrahedron_4} \label{fig:elements:tetrahedron4} } & -\subfloat[Tetrahedron-10]{ +\subfloat[\code{tetrahedron\_10}]{ \includegraphics[width=0.3\textwidth]{figures/elements/tetrahedron_10} \label{fig:elements:tetrahedron10} } & -\subfloat[Hexahedron-8]{ +\subfloat[\code{hexahedron\_8}]{ \includegraphics[width=0.3\textwidth]{figures/elements/hexahedron_8} \label{fig:elements:hexahedron8} } \end{tabular} -\caption{Schematic depiction of the three 3D isoparametric elements available in \akantu. In each element the node numbering used in \akantu is indicated and also the quadrature points are highlighted (gray spheres)} +\caption{A schematic overview of the three supported 3D element types in \akantu. In each element the node numbering as used in \akantu is indicated and also the quadrature points are highlighted (gray spheres).} +\label{fig:elements:3D} \end{center} \end{figure} - -\subsubsection{Tetrahedron 4\index{Elements!3D!Tetrahedron 4}} - -\begin{Element}{3D} - 1 & \inelemthree{0}{0}{0} & $1-\xi-\eta-\zeta$ & \inelemthree{-1}{-1}{-1} \\ -\elemline - 2 & \inelemthree{1}{0}{0} & $\xi$ & \inelemthree{1}{0}{0} \\ -\elemline - 3 & \inelemthree{0}{1}{0} & $\eta$ & \inelemthree{0}{1}{0} \\ -\elemline - 4 & \inelemthree{0}{0}{1} & $\zeta$ & \inelemthree{0}{0}{1} \\ -\end{Element} - -\begin{QuadPoints} -\begin{tabular}{l|c} -Coord. \elemcoorthreed & \inquadthree{\quart}{\quart}{\quart} \\ -\elemline -Weight & \sixth \\ -\end{tabular} -\end{QuadPoints} - -\subsubsection{Tetrahedron 10\index{Elements!3D!Tetrahedron 10}} - -\begin{Element}{3D} - 1 & \inelemthree{0}{0}{0} & $\left(1-\xi-\eta-\zeta\right)\left(1-2\xi-2\eta-2\zeta\right)$ - & \inelemthree{4\xi+4\eta+4\zeta-3}{4\xi+4\eta+4\zeta-3}{4\xi+4\eta+4\zeta-3} \\ -\elemline - 2 & \inelemthree{1}{0}{0} & $\xi\left(2\xi-1\right)$ - & \inelemthree{4\xi-1}{0}{0} \\ -\elemline - 3 & \inelemthree{0}{1}{0} & $\eta\left(2\eta-1\right)$ - & \inelemthree{0}{4\eta-1}{0} \\ -\elemline - 4 & \inelemthree{0}{0}{1} & $\zeta\left(2\zeta-1\right)$ - & \inelemthree{0}{0}{4\zeta-1} \\ -\elemline - 5 & \inelemthree{\half}{0}{0} & $4\xi\left(1-\xi-\eta-\zeta\right)$ - & \inelemthree{4-8\xi-4\eta-4\zeta}{-4\xi}{-4\xi} \\ -\elemline - 6 & \inelemthree{\half}{\half}{0} & $4\xi\eta$ - & \inelemthree{4\eta}{4\xi}{0} \\ -\elemline - 7 & \inelemthree{0}{\half}{0} & $4\eta\left(1-\xi-\eta-\zeta\right)$ - & \inelemthree{-4\eta}{4-4\xi-8\eta-4\zeta}{-4\eta} \\ -\elemline - 8 & \inelemthree{0}{0}{\half} & $4\zeta\left(1-\xi-\eta-\zeta\right)$ - & \inelemthree{-4\zeta}{-4\zeta}{4-4\xi-4\eta-8\zeta} \\ -\elemline - 9 & \inelemthree{\half}{0}{\half} & $4\xi\zeta$ - & \inelemthree{4\zeta}{0}{4\xi} \\ -\elemline - 10 & \inelemthree{0}{\half}{\half} & $4\eta\zeta$ - & \inelemthree{0}{4\zeta}{4\eta} \\ -\end{Element} - -\begin{QuadPoints} -%\newcommand\quada{\tfrac{1}{20}\left(5-\sqrt{5}\right)} -%\newcommand\quadb{\tfrac{1}{20}\left(5+3\sqrt{5}\right)} -\newcommand\quada{\tfrac{\left(5-\sqrt{5}\right)}{20}} -\newcommand\quadb{\tfrac{\left(5+3\sqrt{5}\right)}{20}} -\begin{tabular}{l|cc} -Coord. \elemcoorthreed & \inquadthree{\quada}{\quada}{\quada} & \inquadthree{\quadb}{\quada}{\quada} \\ -\elemline -Weight & 1/24 & 1/24 \\ -\elemline -Coord. \elemcoorthreed & \inquadthree{\quada}{\quadb}{\quada} & \inquadthree{\quada}{\quada}{\quadb} \\ -\elemline -Weight & 1/24 & 1/24 \\ -\end{tabular} -\end{QuadPoints} - -\subsubsection{Hexahedron 8\index{Elements!3D!Hexahedron 8}} - -\begin{Element}{3D} - 1 & \inelemthree{-1}{-1}{-1} & $\eighth\left(1-\xi\right)\left(1-\eta\right)\left(1-\zeta\right)$ - & \inelemthree{-\eighth\left(1-\eta\right)\left(1-\zeta\right)} - {-\eighth\left(1-\xi\right)\left(1-\zeta\right)} - {-\eighth\left(1-\xi\right)\left(1-\eta\right)} \\ -\elemline - 2 & \inelemthree{1}{-1}{-1} & $\eighth\left(1+\xi\right)\left(1-\eta\right)\left(1-\zeta\right)$ - & \inelemthree{ \eighth\left(1-\eta\right)\left(1-\zeta\right)} - {-\eighth\left(1+\xi\right)\left(1-\zeta\right)} - {-\eighth\left(1+\xi\right)\left(1-\eta\right)} \\ -\elemline - 3 & \inelemthree{1}{1}{-1} & $\eighth\left(1+\xi\right)\left(1+\eta\right)\left(1-\zeta\right)$ - & \inelemthree{ \eighth\left(1+\eta\right)\left(1-\zeta\right)} - { \eighth\left(1+\xi\right)\left(1-\zeta\right)} - {-\eighth\left(1+\xi\right)\left(1+\eta\right)} \\ -\elemline - 4 & \inelemthree{-1}{1}{-1} & $\eighth\left(1-\xi\right)\left(1+\eta\right)\left(1-\zeta\right)$ - & \inelemthree{-\eighth\left(1+\eta\right)\left(1-\zeta\right)} - { \eighth\left(1-\xi\right)\left(1-\zeta\right)} - {-\eighth\left(1-\xi\right)\left(1+\eta\right)} \\ -\elemline - 5 & \inelemthree{-1}{-1}{1} & $\eighth\left(1-\xi\right)\left(1-\eta\right)\left(1+\zeta\right)$ - & \inelemthree{-\eighth\left(1-\eta\right)\left(1+\zeta\right)} - {-\eighth\left(1-\xi\right)\left(1+\zeta\right)} - { \eighth\left(1-\xi\right)\left(1-\eta\right)} \\ -\elemline - 6 & \inelemthree{1}{-1}{1} & $\eighth\left(1+\xi\right)\left(1-\eta\right)\left(1+\zeta\right)$ - & \inelemthree{ \eighth\left(1-\eta\right)\left(1+\zeta\right)} - {-\eighth\left(1+\xi\right)\left(1+\zeta\right)} - { \eighth\left(1+\xi\right)\left(1-\eta\right)} \\ -\elemline - 7 & \inelemthree{1}{1}{1} & $\eighth\left(1+\xi\right)\left(1+\eta\right)\left(1+\zeta\right)$ - & \inelemthree{ \eighth\left(1+\eta\right)\left(1+\zeta\right)} - { \eighth\left(1+\xi\right)\left(1+\zeta\right)} - { \eighth\left(1+\xi\right)\left(1+\eta\right)} \\ -\elemline - 8 & \inelemthree{-1}{1}{1} & $\eighth\left(1-\xi\right)\left(1+\eta\right)\left(1+\zeta\right)$ - & \inelemthree{-\eighth\left(1+\eta\right)\left(1+\zeta\right)} - { \eighth\left(1-\xi\right)\left(1+\zeta\right)} - { \eighth\left(1-\xi\right)\left(1+\eta\right)} \\ -\end{Element} - -\begin{QuadPoints} -\begin{tabular}{l|cccc} -\elemcoortwod & \inquadthree{-\invsqrtthree}{-\invsqrtthree}{-\invsqrtthree} & \inquadthree{\invsqrtthree}{-\invsqrtthree}{-\invsqrtthree} - & \inquadthree{\invsqrtthree}{\invsqrtthree}{-\invsqrtthree} & \inquadthree{-\invsqrtthree}{\invsqrtthree}{-\invsqrtthree} \\ -\elemline -Weight & 1 & 1 & 1 & 1 \\ -\elemline -\elemcoortwod & \inquadthree{-\invsqrtthree}{-\invsqrtthree}{\invsqrtthree} & \inquadthree{\invsqrtthree}{-\invsqrtthree}{\invsqrtthree} - & \inquadthree{\invsqrtthree}{\invsqrtthree}{\invsqrtthree} & \inquadthree{-\invsqrtthree}{\invsqrtthree}{\invsqrtthree} \\ -\elemline -Weight & 1 & 1 & 1 & 1 \\ +\begin{table}[!htb] +\begin{center} +\begin{tabular}{l||c|c|c} +Element type & Order & \# nodes & \# quad. points \\ +\hline +\code{tetrahedron\_4} & linear & 4 & 1 \\ +\code{tetrahedron\_10} & quadratic & 10 & 4 \\ +\hline +\code{hexahedron\_8} & cubic & 8 & 8 \\ \end{tabular} -\end{QuadPoints} - +\end{center} +\caption{Some basic properties of the three 3D isoparametric elements in \akantu.} +\label{tab:elements:3D} +\end{table} diff --git a/doc/manual/manual.sty b/doc/manual/manual.sty index 6af4ce730..3aa81b547 100644 --- a/doc/manual/manual.sty +++ b/doc/manual/manual.sty @@ -1,265 +1,275 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% %% LaTeX STYLE SHEET for AKANTU DOCUMENTATION %% %% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Geometry \usepackage{a4wide} \usepackage{geometry} \geometry{ pdftex=true, twoside=true, margin=20mm, bottom=20mm, top=20mm, bindingoffset=5.5mm } % Font encoding \usepackage[T1]{fontenc} \usepackage{palatino} % Line spacing \linespread{1.05}\selectfont % Allow spaces to be added at the end of macro \usepackage{xspace} % Mathematics (including correct font encoding, after amsmath) \usepackage{amsmath} \usepackage{amssymb} \usepackage{pxfonts} \setlength\mathindent{2em} % Some unit stuff \usepackage[squaren]{SIunits} % Easy tables \usepackage{booktabs} \usepackage{longtable} \usepackage{rotating} % For sideways tables \usepackage{multirow} % For larger cells % A special environment for element tables \newcommand\elemline{\hline}%{\noalign{\smallskip}\hline\noalign{\smallskip}} \newcommand\elemcooroned{\ensuremath{\left(\xi\right)}} -\newcommand\elemcoortwod{\ensuremath{\left(\xi,\eta\right)}} -\newcommand\elemcoorthreed{\ensuremath{\left(\xi,\eta,\zeta\right)}} +\newcommand\elemcoortwod{\ensuremath{\left(\xi\;,\;\eta\right)}} +\newcommand\elemcoorthreed{\ensuremath{\left(\xi\;,\;\eta\;,\;\zeta\right)}} \newcommand\elemdshapeoned{\ensuremath{\left(\partial N_i/\partial\xi\right)}} -\newcommand\elemdshapetwod{\ensuremath{\left(\partial N_i/\partial\xi,\partial N_i/\partial\eta\right)}} -\newcommand\elemdshapethreed{\ensuremath{\left(\partial N_i/\partial\xi,\partial N_i/\partial\eta,\partial N_i/\partial\zeta\right)}} +\newcommand\elemdshapetwod{\ensuremath{\left(\partial N_i/\partial\xi\;,\;\partial N_i/\partial\eta\right)}} +\newcommand\elemdshapethreed{\ensuremath{\left(\partial N_i/\partial\xi\;,\;\partial N_i/\partial\eta\;,\;\partial N_i/\partial\zeta\right)}} \newcommand\inelemone[1]{\ensuremath{#1}} -\newcommand\inelemtwo[2]{\ensuremath{\begin{pmatrix} {\; #1} & \!,\! & {#2 \;} \end{pmatrix}}} -\newcommand\inelemthree[3]{\ensuremath{\begin{pmatrix} {\; #1} & \!,\! & {#2} & \!,\! & {#3 \;} \end{pmatrix}}} +%\newcommand\inelemtwo[2]{\ensuremath{\begin{pmatrix} {\; #1} & \!,\! & {#2 \;} \end{pmatrix}}} +%\newcommand\inelemthree[3]{\ensuremath{\begin{pmatrix} {\; #1} & \!,\! & {#2} & \!,\! & {#3 \;} \end{pmatrix}}} +\newcommand\inelemtwo[2]{\ensuremath{\left( {\; #1} \; , \; {#2 \;} \right)}} +\newcommand\inelemthree[3]{\ensuremath{\left( {\; #1} \; , \; {#2} \; , \; {#3 \;} \right)}} \newcommand\inquadone[1]{\ensuremath{#1}} \newcommand\inquadtwo[2]{\ensuremath{\left(\, #1 \, , \, #2 \,\right)}} \newcommand\inquadthree[3]{\ensuremath{\left(\, #1 \, , \, #2 \, , \, #3 \,\right)}} +%\newcommand\quada{\tfrac{1}{20}\left(5-\sqrt{5}\right)} +%\newcommand\quadb{\tfrac{1}{20}\left(5+3\sqrt{5}\right)} +\newcommand\quada{\tfrac{\left(5-\sqrt{5}\right)}{20}} +\newcommand\quadb{\tfrac{\left(5+3\sqrt{5}\right)}{20}} \newenvironment{Element}[1] - {\begin{table*}[!htbp]\footnotesize\begin{center} + {\begin{table*}[!htbp]\footnotesize \ifthenelse{\equal{#1}{1D}}{\renewcommand{\arraystretch}{1.50}}{} \ifthenelse{\equal{#1}{2D}}{\renewcommand{\arraystretch}{1.60}}{} \ifthenelse{\equal{#1}{3D}}{\renewcommand{\arraystretch}{1.70}}{} + \textbf{{\normalsize Element properties}}\newline\vspace*{0.5\baselineskip} \begin{tabular}{c|c|c|c} + %\multicolumn{4}{l}{\textbf{{\normalsize Element properties}}} \\ Node ($i$) & Coord. \ifthenelse{\equal{#1}{1D}}{\elemcooroned}{} \ifthenelse{\equal{#1}{2D}}{\elemcoortwod}{} \ifthenelse{\equal{#1}{3D}}{\elemcoorthreed}{} & Shape function ($N_{i}$) & {Derivative \ifthenelse{\equal{#1}{1D}}{\elemdshapeoned}{} \ifthenelse{\equal{#1}{2D}}{\elemdshapetwod}{} \ifthenelse{\equal{#1}{3D}}{\elemdshapethreed}{} }\\ \elemline } - {\end{tabular}\end{center}\end{table*}} -\newenvironment{QuadPoints} - {\begin{table*}[!htbp]\footnotesize\begin{center} + {\end{tabular}\end{table*}} +\newenvironment{QuadPoints}%[1] + {\vspace*{-\baselineskip} + \begin{table*}[!htbp]\footnotesize \renewcommand{\arraystretch}{1.50} + \textbf{{\normalsize Gaussian quadrature points}}\newline\vspace*{0.5\baselineskip} } - {\end{center}\end{table*}} + {\end{table*}} % Nice coloring \usepackage[dvipsnames,usenames,table]{xcolor} \definecolor{RED}{rgb}{1,0,0} \definecolor{cppbg}{HTML}{EBF2F2} \definecolor{shellbg}{HTML}{F5EDE4} \definecolor{commentcolor}{HTML}{101280} % Allow for the use of listings \usepackage{listings} % Create an index \usepackage{makeidx} % Figure handling \usepackage{graphics} \usepackage{epsfig} \usepackage[lofdepth,lotdepth]{subfig} \usepackage{tikz} \usetikzlibrary{decorations} \renewcommand{\floatpagefraction}{.6} % default: .5 \renewcommand\topfraction{0.9} % 90% of page top can be a float (Standard 0.7) \renewcommand\bottomfraction{0.1} % 10% of page bottom can be a float (Standard 0.3) \renewcommand\textfraction{0.1} % only 10% of page must to be text (Standard 0.2) % Removes parenthese around subfig number \renewcommand*{\thesubfigure}{\alph{subfigure}} % Create a new list style for C++ \lstdefinestyle{C++}{ language=C++, % the language of the code basicstyle=\small\ttfamily, % Without beramono, we'd get cmtt, the teletype font. commentstyle=\color{commentcolor}\itshape, keywordstyle=\color{DarkOrchid}\bfseries, % fontadjust, % numbers=left, % where to put the line-numbers % numberstyle=\tiny, % the size of the fonts that are used for the line-numbers % stepnumber=2, % the step between two line-numbers. If it's 1, each line will % be numbered % numbersep=5pt, % how far the line-numbers are from the code % showspaces=false, % show spaces adding particular underscores showstringspaces=false, % underline spaces within strings % showtabs=false, % show tabs within strings adding particular underscores % frame=llines, % adds a frame around the code % frame=tb, tabsize=2, % sets default tabsize to 2 spaces captionpos=b, % sets the caption-position to bottom breaklines=true, % sets automatic line breaking breakatwhitespace=false, % sets if automatic breaks should only happen at % whitespace % title=\lstname, % show the filename of files included with \lstinputlisting; % also try caption instead of title % escapeinside={\%*}{*)}, % if you want to add a comment within your code xleftmargin=1cm, xrightmargin=1cm, mathescape=true, escapechar=\%, morekeywords={Real, UInt, Int}, columns=flexible, keepspaces=true, backgroundcolor=\color{cppbg} } % Create new list style for the shell \lstdefinestyle{shell}{ language=bash, % the language of the code basicstyle=\scriptsize\ttfamily, % Without beramono, we'd get cmtt, the teletype font. showstringspaces=false, % underline spaces within strings tabsize=2, % sets default tabsize to 2 spaces captionpos=b, % sets the caption-position to bottom breaklines=true, % sets automatic line breaking breakatwhitespace=false, xleftmargin=1cm, xrightmargin=1cm, escapechar=\%, morekeywords={mkdir, make, ccmake, cmake}, columns=flexible, keepspaces=true, backgroundcolor=\color{shellbg} } % Set some derived listing environments \lstnewenvironment{cpp}{\lstset{style=C++}}{} \lstnewenvironment{command}{\lstset{style=shell}}{} % Make sure outputspace is white \makeatletter \def\lst@outputspace{{\ifx\lst@bkgcolor\empty\color{white}\else\lst@bkgcolor\fi\lst@visiblespace}} \makeatother % Renow a label in the itemized lists \renewcommand{\labelitemi}{$\mathbf{\circ}$} % Don't care so much about overfull h-boxes \sloppy % Penalty adjusments %\widowpenalty=10000 % Single lines/word on beginning of page %\clubpenalty=10000 % Single lines/word at end of page %\hyphenpenalty=2000 % Hyphenate words %\tolerance=250 % To adjust the hyphenation of words, increase the tolerance to discourage hyphenation % the higher the value, the more ugly the gaps between words % default \tolerance=200 %\hfuzz=10000pt % threshold when an overfull hbox is reported, default \hfuzz=0.1pt %\vfuzz=10000pt % threshold to report an overfull vbox, default \vfuzz=0.1pt %\hbadness=10000 % threshold to report an underfull \hbox %\vbadness=10000 % threshold to report an underfull \vbox protokolliert wird. \emergencystretch=0pt % causes a third attempt to fix bad paragraphs and defines a maximum limit to stretch them % Insert an empty or a blank page \newcommand{\insertemptypage}{\newpage\hbox{}\newpage} \newcommand{\insertblankpage}{\newpage\thispagestyle{empty}\hbox{}\newpage} % No page number on an empty page \let\origdoublepage\cleardoublepage \newcommand{\clearemptydoublepage}{% \clearpage {\thispagestyle{empty}\origdoublepage}% } \let\cleardoublepage\clearemptydoublepage % A new ruler for in chapters \newcommand\InChapterRule{\addvspace{\baselineskip}\rule{0.3\linewidth}{0.25pt}} % New footnote style %\def\@fnsymbol#1{\ifcase#1\or *\or \dagger\or \ddagger\or \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger \or \ddagger\ddagger \else\@ctrerr\fi\relax} \def\@fnsymbol#1{*\xspace\relax} \renewcommand{\thefootnote}{\fnsymbol{footnote}} % Symbols rather than numbers \def\footnoterule{\vspace*{0.5\baselineskip}\InChapterRule\vspace*{0.25\baselineskip}} % Improved look of the Table of Contents \usepackage[nottoc,notbib]{tocbibind} \usepackage[dotinlabels]{titletoc} \titlecontents{chapter}[1.4pc] {\addvspace{0.6pc}\large\bfseries\filright} {\contentslabel[\thecontentslabel.]{1.4pc}} {\hspace{-1.4pc}} {\hfill\contentspage} [\addvspace{2pt}] \titlecontents{section}[3.4pc] {\filright} {\contentslabel[\thecontentslabel]{2pc}} {\hspace{-2pc}} {\titlerule*[6pt]{.}\contentspage} [] \titlecontents{subsection}[5.0pc] {\filright} {\contentslabel[\thecontentslabel]{2.4pc}} {} {\titlerule*[6pt]{.}\contentspage} [] \setcounter{tocdepth}{2} \newcommand\addspaceintoc{\addtocontents{toc}{\protect\addvspace{20pt}}} % Change the appearance of the bibliography \bibliographystyle{manual-bibliographystyle} \renewcommand\bibname{References} \usepackage{cite} % To sort citations: [2,10-14] \let\oldthebibliography=\thebibliography \let\endoldthebibliography=\endthebibliography \renewenvironment{thebibliography}[1] { \begin{oldthebibliography}{#1} % \small \addcontentsline{toc}{chapter}{\bibname} \setlength{\labelsep}{2mm} \setlength{\parskip}{0\baselineskip} \setlength{\itemsep}{0.24\baselineskip} } { \end{oldthebibliography} } % Hyperref \usepackage{url} \usepackage[pdftex, bookmarks=true, bookmarksnumbered=true, linkbordercolor={1 1 1}, pdfborder={0 0 0}, pdfpagemode=UseOutlines ]{hyperref} \hypersetup{ pdfauthor={Computational Solid Mechanics Laboratory - EPFL}, pdftitle={Akantu User's Guide}, pdfsubject={Open Source Finite Element Code - Akantu} } diff --git a/doc/manual/manual.tex b/doc/manual/manual.tex index 321b3f8dc..5de8279b5 100644 --- a/doc/manual/manual.tex +++ b/doc/manual/manual.tex @@ -1,29 +1,33 @@ \documentclass[openright,a4paper,11pt,fleqn]{manual} \usepackage{manual} \usepackage{manual-macros} -\newcommand{\version}{0.1} +\newcommand{\version}{0.123} %%% For references \todo check the coherency %% section 3.5 -> Section 3.5 %% figure 3.5 -> Figure 3.5 %% equation 3.5 -> Equation (3.5) % Title pages and Table of Contents (includes \begin{document}) \input{manual-titlepages} % Introduction chapter \input{manual-introduction} % The planning to write the documentation \input{manual-planning} % The documentation chapter (split in parts) \chapter{How to use Akantu} \input{manual-gettingstarted} \input{manual-elements} \input{manual-solidmechanicsmodel} \input{manual-structuralmechanicsmodel} \input{manual-heattransfermodel} +% The appendices +\appendix +\input{manual-appendix-elements} + % The backmatter material (index/bibliography, included \end{document}) \input{manual-backmatter}