<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?fileVersion 4.0.0?>
-
-<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1374879834">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1374879834" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1374879834." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.1402892739" name="Linux GCC" resourceTypeBasedDiscovery="true" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.216825272" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
- <builder autoBuildTarget="all" buildPath="${workspace_loc:/bacc/Debug}" cleanBuildTarget="clean" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="true" id="cdt.managedbuild.target.gnu.builder.exe.debug.314569416" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelizationNumber="1" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
+ <builder autoBuildTarget="all" buildPath="${workspace_loc:/bacc/Debug}" cleanBuildTarget="clean" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="true" id="cdt.managedbuild.target.gnu.builder.exe.debug.314569416" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.673975031" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1492228430" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.261762668" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1465922940" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.include.paths.1897313773" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
- <listOptionValue builtIn="false" value="/opt/MATLAB/R2011b/extern/include"/>
+ <listOptionValue builtIn="false" value="/opt/MATLAB/extern/include"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.78369668" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
</tool>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.993850582" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
<option defaultValue="true" id="gnu.cpp.link.option.shared.1335634906" name="Shared (-shared)" superClass="gnu.cpp.link.option.shared" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.libs.1467146899" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
+ <listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="lm"/>
+ </option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1907807136" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
<entry flags="RESOLVED" kind="includePath" name="/usr/local/bin/MATLAB/R2011b/extern/include"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/bacc"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/bacc/Release"/>
- <entry flags="RESOLVED" kind="libraryFile" name="bacc"/>
+ <entry flags="RESOLVED" kind="libraryFile" name="bacc" srcPrefixMapping="" srcRootPath=""/>
</externalSetting>
</externalSettings>
<extensions>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.554293945" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.645094830" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.565478908" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.option.include.paths.869478301" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value="/opt/MATLAB/extern/include"/>
+ </option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1789503460" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.525421822" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
</tool>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1578439369" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
<option defaultValue="true" id="gnu.cpp.link.option.shared.573528711" name="Shared (-shared)" superClass="gnu.cpp.link.option.shared" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.libs.181645367" superClass="gnu.cpp.link.option.libs" valueType="libs">
+ <listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="lm"/>
+ </option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1068735872" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="bacc.cdt.managedbuild.target.gnu.exe.464291990" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
</storageModule>
- <storageModule moduleId="refreshScope" versionNumber="1">
- <resource resourceType="PROJECT" workspacePath="/bacc"/>
+ <storageModule moduleId="refreshScope" versionNumber="2">
+ <configuration configurationName="Release">
+ <resource resourceType="PROJECT" workspacePath="/bacc"/>
+ </configuration>
+ <configuration configurationName="Debug">
+ <resource resourceType="PROJECT" workspacePath="/bacc"/>
+ </configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
<storageModule moduleId="scannerConfiguration">
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets">
<buildTargets/>
</storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
</cproject>
\tableofcontents
\clearpage
\section{Anhang Code}
-% \subsection{C++}
-% \subsubsection{mex\_build\_V.cpp}
-% \lstinputlisting[language=C++]{../src/mex_build_V.cpp}
-% \subsubsection{slpRectangle.hpp}
-% \lstinputlisting[language=C++]{../src/slpRectangle.hpp}
-% \subsubsection{slpRectangle.cpp}
-% \lstinputlisting[language=C++]{../src/slpRectangle.cpp}
-% \subsubsection{gauss.hpp}
-% \lstinputlisting[language=C++]{../src/gauss.hpp}
+ \subsection{C++}
+ \subsubsection{mex\_build\_V.cpp}
+ \lstinputlisting[language=C++]{../src/mex_build_V.cpp}
+ \subsubsection{slpRectangle.hpp}
+ \lstinputlisting[language=C++]{../src/slpRectangle.hpp}
+ \subsubsection{slpRectangle.cpp}
+ \lstinputlisting[language=C++]{../src/slpRectangle.cpp}
+ \subsubsection{gauss.hpp}
+ \lstinputlisting[language=C++]{../src/gauss.hpp}
\subsection{Matlab}
\subsubsection{compute.m}
\lstinputlisting[language=M]{../src/compute.m}
-\documentclass[a4paper,12pt,fleqn]{article}
+\documentclass[a4paper,11pt,fleqn]{article}
\usepackage{fullpage} %Seiten etwas Größer
\usepackage[ngerman]{babel} %Sprachpacket für Überschriften
\psfrag{N-12}{\tiny $N^{-1/2}$}
\psfrag{N-14}{\tiny $N^{-1/4}$}
\psfrag{N-34}{\tiny $N^{-3/4}$}
+
+
+\psfrag{tmu 1t05n05 A}{\tiny $\tilde \mu$}
+\psfrag{eta 1t05n05 A}{\tiny $\eta$}
+\psfrag{fehler 1t05n05 A}{\tiny Fehler}
+\psfrag{Zeit 1t05n05 A}{\tiny Zeit}
+\psfrag{cond 1t05n05 A}{\tiny Kondition}
+\psfrag{min hmin/max hmax 1t05n05 A}{\tiny $\min (h_{\min})/(\max h_{\max})$}
+\psfrag{min hmax/max hmax 1t05n05 A}{\tiny $\min (h_{\max})/(\max h_{\max})$}
+\psfrag{min hmin/hmax 1t05n05 A}{\tiny $\min (h_{\min}/h_{\max})$}
+
+
+\psfrag{tmu 132t05n05 A}{\tiny $\tilde \mu$ analytisch}
+\psfrag{eta 132t05n05 A}{\tiny $\eta$ analytisch}
+\psfrag{fehler 132t05n05 A}{\tiny Fehler analytisch}
+\psfrag{Zeit 132t05n05 A}{\tiny Zeit analytisch}
+\psfrag{cond 132t05n05 A}{\tiny Kondition analytisch}
+
+\psfrag{tmu 132t05n05 QEQA}{\tiny $\tilde \mu$ semiquadratur QE}
+\psfrag{eta 132t05n05 QEQA}{\tiny $\eta$ semiquadratur QE}
+\psfrag{fehler 132t05n05 QEQA}{\tiny Fehler semiquadratur QE}
+\psfrag{Zeit 132t05n05 QEQA}{\tiny Zeit semiquadratur QE}
+\psfrag{cond 132t05n05 QEQA}{\tiny Kondition semiquadratur QE}
+
+\psfrag{tmu 132t05n05 QA}{\tiny $\tilde \mu$ semiquadratur Q}
+\psfrag{eta 132t05n05 QA}{\tiny $\eta$ semiquadratur Q}
+\psfrag{fehler 132t05n05 QA}{\tiny Fehler semiquadratur Q}
+\psfrag{Zeit 132t05n05 QA}{\tiny Zeit semiquadratur Q}
+\psfrag{cond 132t05n05 QA}{\tiny Kondition semiquadratur Q}
+
+
+
+
+
+
+
+
+
+
+
+
\begin{document}
\todo{
% \input{titelseite}
\end{enumerate}
Zusätzlich wurde auch Typ 5. belegt, welcher als Ergebnis eine volle Teilung 2. ausführt, diese aber schrittweise durch eine 3. Teilung und anschließend durch jeweils eine 4. Teilung. Aus Sicherheitsgründen wird auch jede vierte volle 2. Teilung durch eine 5. Teilung ausgeführt, da sonst kurzzeitig Seiten mit mehr als zwei Elementen auftreten könnten.
+\noindent
Damit jedem Element $T_i$ eine Teilungsart zugeordnet werden kann, haben wir einen Mar\-kierungs\-vektor $marked \in \{1,2,3,4,5\}^M$ eingeführt. Dabei entspricht $marked_i$ der Art der Teilung für das Element $T_i$. Um isotrope und auch uniforme Teilungen zu erleichtern kann statt dem Vektor $marked$ auch nur ein Skalar übergeben werden $marked \in {1,2\dots5}$, wodurch jedes Element mit der gewählten Art verfeinert wird.
+\noindent
Relevant zum Verfeinern eines Netzes sind also die Koordinaten $COO$, Elemente $ELE$ sowie die Nachbarschaftsrelationen $NEI$ und der Markierungs\-vektor $marked$.
+\noindent
Da wir später den Fehlerschätzer berechnen wollen, ist es wichtig sich zu jedem Element seine Teilelemente zu merken. Dazu legen wir während der Teilung eine $M \times 4$ Matrix an, in der die maximal vier Elementindizes gespeichert werden. Wenn wir also ein Element in vier gleich große Teile verfeinern, so wird das neue Element links unten das erste sein und alle weiteren folgen gegen den Uhrzeigersinn. Teilen wir ein Element in zwei gleich große Elemente, so werden die doppelt belegten Quadranten auch doppelt eingetragen. Ein gar nicht geteiltes Element wird also vier mal den alten Indizes speichern. Dadurch wird sichergestellt, dass das arithmetische Mittel über die Elemente immer gültig auszuführen ist.
(Siehe Abbildung \ref{exmpl13})
\begin{align*}
\label{exmpl1:f2s:part}
\end{figure}
-\subsection{Berechnung der $V$ Matrix}
+\subsection{Berechnung der Matrix}
+An dieser Stelle wenden wir uns noch ein mal der Berechnung der Matrix $A \in \R^{N\times N}$ zu, deren Einträge bestimmt sind durch das Integral
+\begin{align} \label{math:imple:Ajk}
+ A_{jk} = \int_{T_j} \int_{T_k} \frac 1 {4\pi} \frac 1 {\abs{\bs x - \bs y}} ds_{\bs y} ds_{\bs x}.
+\end{align}
+Da die Berechnung aller Einträge sehr aufwändig ist, haben wir die entsprechenden Funktionen nicht direkt in \Matlab~implementiert, sondern mithilfe der {\sc mex}-Schnittstelle in \Cpp. \Matlab~benötigt dazu die Bibliothek "`mex.h"' und eine spezielle {\sc mex}-Funktion als Einstiegspunkt mit der Gestalt
+\begin{lstlisting}[language=C++, numbers=none]
+void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
+\end{lstlisting}
+Dabei steht \lstinline!nlhs! für die erwartete Anzahl der Rückgabe-Parameter, welche im Array \lstinline!*plhs[]! abgespeichert werden müssen. Im Array \lstinline!*prhs[]! werden die Eingabe-Parameter von \Matlab~übergeben, dessen Anzahl über \lstinline!nrhs! abgefragt werden kann. Weiterhin stehen noch wichtige {\sc mex}-Funktionen zum Umwandeln der Parameter, sowie dem Zugriff auf \Matlab-Funktionen und Ausgaben zur Verfügung.
+% Innerhalb von \Matlab~kann der Code dann kompiliert werden
+% \begin{lstlisting}[language=M, numbers=none]
+% mex mexfile.cpp
+% \end{lstlisting}
+% wobei anschließend noch weitere Dateien und Parameter angegeben werden können. Nach erfolgreichem Kompilieren wurde eine \lstinline!mexfile.mexa64! Datei für ein 64bit System erstellt, welche dann in \Matlab
+% \begin{lstlisting}[language=M, numbers=none]
+% [pl1] = mexfile(pr1,pr2);
+% \end{lstlisting}
+% aufgerufen werden kann.
+
+\noindent
+Die Implementierung des Integrals \eqref{math:imple:Ajk} wurde in \lstinline!mex_build_V! \todo{(ref)} mithilfe der beiden Bibliotheken \lstinline!slpRectangle! \todo{(ref, ref)} und \lstinline!gauss! \todo{(ref)} umgesetzt.
+
+\noindent
+Innerhalb von \Matlab~kann der Code dann kompiliert werden
+\begin{lstlisting}[language=M, numbers=none]
+mex -o 'mex_build_V.cpp' 'slpRectangle.cpp' CFLAGS="\$CFLAGS -fopenmp"...
+ CXXFLAGS="\$CXXFLAGS -fopenmp" LDFLAGS="\$LDFLAGS -fopenmp"
+\end{lstlisting}
+Nach erfolgreichem Kompilieren wurde eine \lstinline!mex_build_V.mexa64! Datei für ein 64bit System erstellt, welche dann in \Matlab~über
+\begin{lstlisting}[language=M, numbers=none]
+A = mex_build_V(coo,ele,zeta,typ);
+\end{lstlisting}
+aufgerufen werden kann. Hierbei steht wie in der Datenstruktur beschrieben \lstinline!coo! für die Koordinatenmatrix und \lstinline!ele! für die Elementmatrix. Weiterhin sei \lstinline!zeta! ein Array mit den Einträgen \lstinline!zeta! $=(q,\zeta_0,\zeta_1)$. Mithilfe des Parameters $q \in \{0,1,2,3,4,5\}$ kann die Anzahl $2^q$ der Auswertungsstellen für die Gauss-Quadratur gewählt werden. Die beiden Parameter $\zeta_0,\zeta_1 \in \R^+$ werden in den Zulässigkeitsbedingungen verwendet. Der Parameter \lstinline!typ! $\in \{1,2,3\}$ steht für die Art der Berechnung.
+
+\noindent
+Insgesamt wurden vier Arten der Berechnung implementiert.
+\begin{enumerate}
+ \item Bei der voll analytischen Berechnung von $A$ werden
+ \begin{itemize}
+ \item alle Elemente analytisch mittels Stammfunktion berechnet.
+ \end{itemize}
+ \item In der vollen Quadratur für zulässige Elemente werden
+ \begin{itemize}
+ \item $\zeta_0$-zulässige Elemente mit Gauss-Quadratur über alle Integrale
+ \item und alle anderen analytisch mittels Stammfunktion berechnet.
+ \end{itemize}
+ \item Bei der geeigneten Quadratur für zulässige Elemente werden
+ \begin{itemize}
+ \item $\zeta_1$-zulässige Elemente mit Gauss-Quadratur über ein Element,
+ \item $\zeta_0$-zulässige Elemente mit Gauss-Quadratur über alle Integrale
+ \item und alle anderen analytisch mittels Stammfunktion berechnet.
+ \end{itemize}
+ \item In der Quadratur über ein Element für zulässige Elemente werden
+ \begin{itemize}
+ \item $\zeta_0$-zulässige Elemente mit Gauss-Quadratur über ein Element
+ \item und alle anderen analytisch mittels Stammfunktion berechnet.
+ \end{itemize}
+\end{enumerate}
+
+\noindent
+Da der Code sehr umfangreich geworden ist, werden wir an dieser Stelle nur einige Details hervorheben.
+
+\noindent
+Wie schon erwähnt dient die \lstinline!mex_build_V.cpp! als Einstiegspunkt für \Matlab. In ihr haben wir die Auswertung der Parameter, sowie das Ermitteln der Integrationsgrenzen implementiert. Weiterhin iterieren wir hier, mittels \lstinline!for!-Schleifen auch über die Einträge der Matrix, um dann die geeignete Berechnungsfunktion des Eintrags $A_{jk}$ aufzurufen.
+
+\noindent
+Da die Berechnungen der einzelnen Matrixeinträge unabhängig von einander sind, haben wir an dieser Stelle die \lstinline!for!-Schleifen zur Nutzung von paralleler Berechnung auf mehreren Kernen optimiert. Dafür nutzen wir die freie Bibliothek \lstinline!omp.h!.
+\noindent
+Die Implementierung der Berechnung eines Matrixeintrags befindet sich in der \lstinline!slpRectangle.cpp!.
\clearpage
\subsection{Beispiel Quadrat}
Im Folgenden werden wir die Laplace-Gleichung
-\begin{align}\label{math:bsp:gls}
+\begin{align}\label{math:bsp:Quad:gls}
\begin{aligned}
- \varDelta u &= 0 \quad\text{ in } \Omega \subset \R^3, \\
u &= g \quad \text{ auf }\Gamma,
\noindent
Um auch die Stabilität der drei Strategien untersuchen zu können, sehen wir in der Abbildung \ref{fig:2DQuad:verfeinern:cond} die Konditionszahlen der $V_{\ell}$ Matrix in Abhängigkeit der Elementanzahl.
+\noindent
+Weiterhin können wir in Abbildung \ref{fig:2DQuad:verfeinern:time} die benötigte Zeit pro Berechnungsschritt ablesen. Hierbei fällt auf, dass die Wahl der Strategie keinen Einfluss auf die benötigte Zeit hat, sondern nur die Anzahl der Elemente. Für die Berechnung mit 3000 Elementen benötigen alle drei Strategien etwa $10^4s \approx 2h45m$.
+
+\noindent
+Diese Ergebnisse Zeigen also, dass die "`anisotrope"' Strategie die beste Konvergenzrate aufweist, wir dafür jedoch eine schlechtere Konditionsrate in kauf nehmen müssen. Welches letztendlich auf die größen und formen der Elemente zurückzuführen ist.
+
+\noindent
+Ziel wird es nun sein die Instabilitäten, die bei der analytischen Berechnung auftreten durch Quadratur zu vermeiden. Dafür werden wir vorher noch Berechnungen mit verschiedenen Quadraturgraden genauer untersuchen.
+
\subsubsection{Vergleich verschiedener Quadraturgrade}
+Bei der folgenden Berechnung werden wir alle Integrale von $\zeta_Q$-zulässigen Elemente durch die vorgestellte Gauss-Quadratur approximieren. Hierbei werden wir jeweils 1,2,4 oder 8 Auswertungsstellen verwenden.
+
+\noindent
+Siehe Abbildung \ref{fig:2DQuad:quad}
+
+\begin{figure}[ht]
+
+
+\centering
+\subfloat[Fehler und Fehlerschätzer für das Quadrat \label{fig:2DQuad:quad:err}]{\includegraphics[width=0.5\textwidth]{fig/2222t05n05_2DQuad_error}}
+% \subfloat[Seitenverhältnisse auf dem Quadrat \label{fig:2DQuad:quad:hminmax}]{\includegraphics[width=0.5\textwidth]{fig/2222t05n05_2DQuad_hminmax}}
+% \\
+% \subfloat[Kondition der $V_{\ell}$ Matrix \label{fig:2DQuad:quad:cond}]{\includegraphics[width=0.5\textwidth]{fig/2222t05n05_2DQuad_cond}}
+\subfloat[Berechnungszeit für das Quadrat \label{fig:2DQuad:quad:time}]{\includegraphics[width=0.5\textwidth]{fig/2222t05n05_2DQuad_time}}
+\caption{Vergleich der Quadraturgrade auf dem Quadrat}
+\label{fig:2DQuad:quad}
+\end{figure}
+
\subsubsection{Vergleich verschiedener Berechnungsarten}
+Siehe Abbildung \ref{fig:2DQuad:sem}.
+\begin{figure}[ht]
+
+
+\centering
+\subfloat[Fehler und Fehlerschätzer für das Quadrat \label{fig:2DQuad:sem:err}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_2DQuad_error}}
+% \subfloat[Seitenverhältnisse auf dem Quadrat \label{fig:2DQuad:quad:hminmax}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_2DQuad_hminmax}}
+\\
+\subfloat[Kondition der $V_{\ell}$ Matrix \label{fig:2DQuad:sem:cond}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_2DQuad_cond}}
+\subfloat[Berechnungszeit für das Quadrat \label{fig:2DQuad:sem:time}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_2DQuad_time}}
+\caption{Vergleich der Berechnungsarten von $\hat V_{\ell}$}
+\label{fig:2DQuad:sem}
+\end{figure}
+
+\subsection{Beispiel Fischer Würfel}
+Im Folgenden werden wir die Laplace-Gleichung
+\begin{align}\label{math:bsp:FichCube:gls}
+\begin{aligned}
+- \varDelta u &= 0 \quad\text{ in } \Omega \subset \R^3, \\
+u &= g \quad \text{ auf }\Gamma,
+\end{aligned}
+\end{align}
+mit dem Startnetz aus Abbildung \ref{fig:mesh:3DFichCube}, einem Fischer Würfel genauer betrachten.
+Der Fischer Würfel ist gegeben durch einen $[-1, 1]^3$ Würfel aus dem ein $[-1, 0]\times[0,1]^2$ Würfel heraus geschnitten wurde.
+% Die vier Eckpunkte des Quadrats sind hierbei gegeben durch
+% \begin{align*}
+% \{ (0,0,0), (1,0,0), (1,1,0), (0,1,0) \}.
+% \end{align*}
+\todo{Des Weiteren werden wir als exakte Lösung $\enorm{\phi}^2 = 16.2265$ annehmen.}
+\begin{figure}[ht]
+ \centering
+ \includegraphics[width=0.5\textwidth]{fig/exmpl_3DFichCube_ref}
+ \caption{Fischer Würfel}
+ \label{fig:mesh:3DFichCube}
+\end{figure}
+
+
+
+Siehe Abbildung \ref{fig:3DFichCube:sem}.
+\begin{figure}[ht]
+
+
+\centering
+\subfloat[Fehler und Fehlerschätzer für das Quadrat \label{fig:3DFichCube:sem:err}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_3DFichCube_error}}
+% \subfloat[Seitenverhältnisse auf dem Quadrat \label{fig:3DFichCube:quad:hminmax}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_3DFichCube_hminmax}}
+% \\
+\subfloat[Kondition der $V_{\ell}$ Matrix \label{fig:3DFichCube:sem:cond}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_3DFichCube_cond}}
+% \subfloat[Berechnungszeit für das Quadrat \label{fig:3DFichCube:sem:time}]{\includegraphics[width=0.5\textwidth]{fig/132t05n05_3DFichCube_time}}
+\caption{Vergleich der Berechnungsarten von $\hat V_{\ell}$}
+\label{fig:3DFichCube:sem}
+\end{figure}
+
+
+
+
+
+
+
+
+
+
+
% Zum Plotten (Abb.\ref{fig:exmplAA_2DQuad})werden noch folgende Schritte ausgeführt
% \begin{itemize}
\subfloat[2D L Shape\label{fig:mesh:2DLShape}]{\includegraphics[width=0.5\textwidth]{fig/exmpl_2DLShape_ref}}
% \subfloat[2D Quad\label{fig:mesh:2DQuad}]{\includegraphics[width=0.5\textwidth]{fig/exmpl_2DQuad_ref}}\\
\subfloat[3D Cube\label{fig:mesh:3DCube}]{\includegraphics[width=0.5\textwidth]{fig/exmpl_3DCube_ref}}
-\subfloat[3D FichCube\label{fig:mesh:3DFichCube}]{\includegraphics[width=0.5\textwidth]{fig/exmpl_3DFichCube_ref}}
+% \subfloat[3D FichCube\label{fig:mesh:3DFichCube}]{\includegraphics[width=0.5\textwidth]{fig/exmpl_3DFichCube_ref}}
\end{figure}
\clearpage
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_2DQuad_cond.eps
-%%CreationDate: 04/13/2013 16:13:47
+%%CreationDate: 04/14/2013 17:43:56
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2769 3963 3041 2 MP stroke
-0 -2592 3963 3041 2 MP stroke
-0 -2608 3963 3041 2 MP stroke
+0 -2769 3847 3041 2 MP stroke
+0 -2592 3847 3041 2 MP stroke
+0 -2608 3847 3041 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_2DQuad_error.eps
-%%CreationDate: 04/13/2013 16:13:46
+%%CreationDate: 04/14/2013 17:43:55
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
45 27 62 37 48 28 52 31 70 41 51 31 90 53 71 42
103 61 123 72 190 113 254 150 560 331 1183 1114 30 MP stroke
c2
-0 -2147 3963 2995 2 MP stroke
-0 -2144 3963 2992 2 MP stroke
-0 -2144 3963 2992 2 MP stroke
+0 -2147 3847 2995 2 MP stroke
+0 -2144 3847 2992 2 MP stroke
+0 -2144 3847 2992 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_2DQuad_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:46
+%%CreationDate: 04/14/2013 17:43:56
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2797 3963 3142 2 MP stroke
-0 -2797 3963 3142 2 MP stroke
-0 -2797 3963 3142 2 MP stroke
+0 -2797 3847 3142 2 MP stroke
+0 -2797 3847 3142 2 MP stroke
+0 -2797 3847 3142 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_2DQuad_time.eps
-%%CreationDate: 04/13/2013 16:13:47
+%%CreationDate: 04/14/2013 17:43:57
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_3DFichCube_cond.eps
-%%CreationDate: 04/13/2013 16:13:49
+%%CreationDate: 04/14/2013 17:43:58
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2330 4029 2924 2 MP stroke
-0 -2329 4029 2924 2 MP stroke
-0 -1947 4029 2924 2 MP stroke
+0 -2330 3907 2924 2 MP stroke
+0 -2329 3907 2924 2 MP stroke
+0 -1947 3907 2924 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_3DFichCube_error.eps
-%%CreationDate: 04/13/2013 16:13:48
+%%CreationDate: 04/14/2013 17:43:57
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
73 32 99 44 92 41 97 43 131 58 114 51 152 67 120 53
219 98 142 63 245 108 235 105 528 234 1095 1542 22 MP stroke
c2
-0 -1805 4029 2690 2 MP stroke
-0 -1805 4029 2690 2 MP stroke
-0 -1766 4029 2651 2 MP stroke
+0 -1805 3907 2690 2 MP stroke
+0 -1805 3907 2690 2 MP stroke
+0 -1766 3907 2651 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_3DFichCube_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:48
+%%CreationDate: 04/14/2013 17:43:58
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2353 4029 2726 2 MP stroke
-0 -2353 4029 2726 2 MP stroke
-0 -2353 4029 2726 2 MP stroke
+0 -2353 3907 2726 2 MP stroke
+0 -2353 3907 2726 2 MP stroke
+0 -2353 3907 2726 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/132t05n05_3DFichCube_time.eps
-%%CreationDate: 04/13/2013 16:13:50
+%%CreationDate: 04/14/2013 17:43:59
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DLShape_cond.eps
-%%CreationDate: 04/13/2013 16:29:51
+%%CreationDate: 04/14/2013 17:43:48
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
gs 624 269 3721 2936 MR c np
DA
c2
-0 -2794 3879 3081 2 MP stroke
+0 -2794 3792 3081 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DLShape_error.eps
-%%CreationDate: 04/13/2013 16:29:51
+%%CreationDate: 04/14/2013 17:43:48
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
66 39 77 45 62 37 74 44 95 56 95 56 99 59 133 78
147 88 141 83 190 112 254 151 396 234 1067 1045 30 MP stroke
c2
-0 -1838 3879 2642 2 MP stroke
+0 -1838 3792 2642 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DLShape_hminmax.eps
-%%CreationDate: 04/13/2013 16:29:51
+%%CreationDate: 04/14/2013 17:43:48
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2797 3879 3142 2 MP stroke
+0 -2797 3792 3142 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DLShape_time.eps
-%%CreationDate: 04/13/2013 16:29:52
+%%CreationDate: 04/14/2013 17:43:49
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DQuad_cond.eps
-%%CreationDate: 04/13/2013 16:13:37
+%%CreationDate: 04/14/2013 17:43:47
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2735 3947 3061 2 MP stroke
+0 -2735 3847 3061 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DQuad_error.eps
-%%CreationDate: 04/13/2013 16:13:36
+%%CreationDate: 04/14/2013 17:43:46
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
61 36 61 36 45 27 62 37 48 28 52 31 70 41 51 31
90 53 71 42 103 61 123 72 190 113 254 150 560 331 1183 1114 32 MP stroke
c2
-0 -2206 3947 3054 2 MP stroke
+0 -2206 3847 3054 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DQuad_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:36
+%%CreationDate: 04/14/2013 17:43:46
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2797 3947 3142 2 MP stroke
+0 -2797 3847 3142 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_2DQuad_time.eps
-%%CreationDate: 04/13/2013 16:13:37
+%%CreationDate: 04/14/2013 17:43:47
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_3DFichCube_cond.eps
-%%CreationDate: 04/13/2013 16:13:35
+%%CreationDate: 04/14/2013 17:43:43
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2507 4157 2877 2 MP stroke
+0 -2507 4027 2877 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_3DFichCube_error.eps
-%%CreationDate: 04/13/2013 16:13:34
+%%CreationDate: 04/14/2013 17:43:42
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
106 47 73 32 99 44 92 41 97 43 131 58 114 51 152 67
120 53 219 98 142 63 245 108 235 105 528 234 1095 1542 23 MP stroke
c2
-0 -1778 4157 2663 2 MP stroke
+0 -1778 4027 2663 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_3DFichCube_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:34
+%%CreationDate: 04/14/2013 17:43:43
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
DA
c2
-0 -2353 4157 2726 2 MP stroke
+0 -2353 4027 2726 2 MP stroke
gr
c2
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n05_3DFichCube_time.eps
-%%CreationDate: 04/13/2013 16:13:35
+%%CreationDate: 04/14/2013 17:43:43
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n0_2DQuad_cond.eps
-%%CreationDate: 04/13/2013 16:13:42
+%%CreationDate: 04/14/2013 17:43:52
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n0_2DQuad_error.eps
-%%CreationDate: 04/13/2013 16:13:42
+%%CreationDate: 04/14/2013 17:43:51
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n0_2DQuad_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:42
+%%CreationDate: 04/14/2013 17:43:52
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t05n0_2DQuad_time.eps
-%%CreationDate: 04/13/2013 16:13:43
+%%CreationDate: 04/14/2013 17:43:52
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t1n0_2DQuad_cond.eps
-%%CreationDate: 04/13/2013 16:13:41
+%%CreationDate: 04/14/2013 17:43:50
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t1n0_2DQuad_error.eps
-%%CreationDate: 04/13/2013 16:13:40
+%%CreationDate: 04/14/2013 17:43:50
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t1n0_2DQuad_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:40
+%%CreationDate: 04/14/2013 17:43:50
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1t1n0_2DQuad_time.eps
-%%CreationDate: 04/13/2013 16:13:41
+%%CreationDate: 04/14/2013 17:43:51
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1tn_2DQuad_cond.eps
-%%CreationDate: 04/13/2013 16:13:44
+%%CreationDate: 04/14/2013 17:43:54
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1tn_2DQuad_error.eps
-%%CreationDate: 04/13/2013 16:13:44
+%%CreationDate: 04/14/2013 17:43:53
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1tn_2DQuad_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:44
+%%CreationDate: 04/14/2013 17:43:54
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/1tn_2DQuad_time.eps
-%%CreationDate: 04/13/2013 16:13:45
+%%CreationDate: 04/14/2013 17:43:54
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/2222t05n05_2DQuad_cond.eps
-%%CreationDate: 04/13/2013 16:13:51
+%%CreationDate: 04/14/2013 17:44:02
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/2222t05n05_2DQuad_error.eps
-%%CreationDate: 04/13/2013 16:13:50
+%%CreationDate: 04/14/2013 17:44:02
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/2222t05n05_2DQuad_hminmax.eps
-%%CreationDate: 04/13/2013 16:13:51
+%%CreationDate: 04/14/2013 17:44:02
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/2222t05n05_2DQuad_time.eps
-%%CreationDate: 04/13/2013 16:13:51
+%%CreationDate: 04/14/2013 17:44:03
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl11_ref.eps
-%%CreationDate: 04/13/2013 16:13:30
+%%CreationDate: 04/14/2013 17:43:39
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl12_ref.eps
-%%CreationDate: 04/13/2013 16:13:30
+%%CreationDate: 04/14/2013 17:43:39
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl13_nei_part.eps
-%%CreationDate: 04/13/2013 16:13:31
+%%CreationDate: 04/14/2013 17:43:39
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl13_ref.eps
-%%CreationDate: 04/13/2013 16:13:30
+%%CreationDate: 04/14/2013 17:43:39
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl_2DLShape_ref.eps
-%%CreationDate: 04/13/2013 16:13:32
+%%CreationDate: 04/14/2013 17:43:40
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl_2DQuad_ref.eps
-%%CreationDate: 04/13/2013 16:13:32
+%%CreationDate: 04/14/2013 17:43:40
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl_3DCube_ref.eps
-%%CreationDate: 04/13/2013 16:13:32
+%%CreationDate: 04/14/2013 17:43:40
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/exmpl_3DFichCube_ref.eps
-%%CreationDate: 04/13/2013 16:13:32
+%%CreationDate: 04/14/2013 17:43:41
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/net1.eps
-%%CreationDate: 04/13/2013 16:13:31
+%%CreationDate: 04/14/2013 17:43:40
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/net_single.eps
-%%CreationDate: 04/13/2013 16:13:31
+%%CreationDate: 04/14/2013 17:43:40
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/net_wrong.eps
-%%CreationDate: 04/13/2013 16:13:31
+%%CreationDate: 04/14/2013 17:43:40
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/refType_1.eps
-%%CreationDate: 04/13/2013 16:13:33
+%%CreationDate: 04/14/2013 17:43:41
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/refType_2.eps
-%%CreationDate: 04/13/2013 16:13:33
+%%CreationDate: 04/14/2013 17:43:41
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/refType_3.eps
-%%CreationDate: 04/13/2013 16:13:33
+%%CreationDate: 04/14/2013 17:43:41
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/refType_4.eps
-%%CreationDate: 04/13/2013 16:13:33
+%%CreationDate: 04/14/2013 17:43:41
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Linux 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64.
%%Title: ../doc/fig/refType_full.eps
-%%CreationDate: 04/13/2013 16:13:32
+%%CreationDate: 04/14/2013 17:43:41
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Extensions: CMYK
mexFunction,mexErrMsgTxt,mxCreateDoubleMatrix,mxGetPr,mxGetM,mxGetN,mexPrintf}, %lib Functions
morekeywords=[3]{GAUSS_SIZE,GAUSS_NODES,HILBERT3D_LAPLACE_SLPRECTANGLE_HPP_GUARD_,DEBUG,PARALLEL,
MINSIZE_PER_WORKER,MAX_WORKER}, %Globals
- morekeywords=[4]{int,double,void,_gauss,gauss}, %Typen
+ morekeywords=[4]{int,double,void,_gauss,gauss,mxArray}, %Typen
deletekeywords=[1]{int,double,void},
morekeywords=[5]{add,sub,set,dimOfThird,getSCorner,distT,dimOfVec,
sign,max,min,switch_site,switch_dim,dist,dist2,dist_s2,dist_s,
\lstdefinelanguage{M}[]{Matlab}{
morecomment=[l]{...},
- morekeywords=[1]{assert,repmat,mod,regexprep,zeros,ones,ismember,scatter3,ylim,xlim,zlim},
+ morekeywords=[1]{assert,repmat,mod,regexprep,zeros,ones,ismember,scatter3,ylim,xlim,zlim,mex},
morekeywords=[2]{}, %lib Functions
morekeywords=[3]{G_ref_E,G_ref_C,G_ref_N,G_ref_S,G_ref_f2s,G_ref_t,G_ref_tD,G_ref_f2sT,G_D,G_C,G_E,G_N,G_T,G_S}, %Globals
morekeywords=[4]{}, %Typen
% shift2 = shift2+shift2/10;
% error*(eta(l)-shift2)/error(l)
-first = 1 +find(([ (G_D(2:end,2+rows*i)-G_D(1:end-1,2+rows*i))./G_D(2:end,2+rows*i)])>=0,1);
+first = 1 +find(([ (G_D(2:end,2+rows*i)-G_D(1:end-1,2+rows*i))./G_D(2:end,2+rows*i)])>=0,1)-1;
Ferr = (X(first,i+1)+X(first-1,i+1))/2;
loglog(X(:,i+1),G_D(:,2+rows*i),type2sym(i*3+1), ...
A_plots({'meshSave/132t05n05_2DQuad_30'},'../doc/fig/132t05n05_2DQuad')
A_plots({'meshSave/132t05n05_3DFichCube_22'},'../doc/fig/132t05n05_3DFichCube')
+A_plots({'meshSave/1432t05n05_3DFichCube_19'},'../doc/fig/1432t05n05_3DFichCube')
+
A_plots({'meshSave/2222t05n05_2DQuad_30'},'../doc/fig/2222t05n05_2DQuad')
+
close all
\ No newline at end of file
/***************************************************************************/\r
/* mex_build_v.cpp */\r
/* */\r
-/* Definiert die MEX Funktion mex_build_V(coo,ele,zeta,type) */\r
+/* Definiert die MEX Funktion mex_build_V(coo,ele,zeta,typ) */\r
/* coo : Koordinaten Matrix */\r
/* ele : Element Matrix */\r
/* zeta : Steuerungsvariable der Zulaessigeitsbedingungen */\r
-/* type : Bestimmt die Art der Berechnung */\r
+/* typ : Bestimmt die Art der Berechnung */\r
/* */\r
/* TYPES---- */\r
/* 0 : nur die Abstaende der Elemente werden berechnet */\r
*/\r
//#define PARALLEL\r
#include <cmath>\r
-#include "mex.h"\r
+#include <mex.h>\r
\r
#ifdef PARALLEL\r
#include <omp.h>\r
return 1;\r
case 3:\r
return 0;\r
+ default:\r
+ return -1;\r
}\r
}\r
\r
//LageInformationen\r
int rx, rxa, rxb, ry, rya, ryb;\r
double tmp;\r
- double x[4][3] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };\r
+ double x[4][3] = { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } };\r
double y[4][3] = { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } };\r
double xa[3] = { 0, 0, 0 };\r
double xb[3] = { 0, 0, 0 };\r
double ya[3] = { 0, 0, 0 };\r
double yb[3] = { 0, 0, 0 };\r
double d[3] = { 0, 0, 0 };\r
- double dt[3] = { 0, 0, 0 };\r
\r
/*\r
* Schleife ueber Elemente initialisieren\r
format longG
% Matrix MEX Funktion neu Compilieren
-mex -o mex_build_V.cpp slpRectangle.cpp CFLAGS="\$CFLAGS -fopenmp" CXXFLAGS="\$CXXFLAGS -fopenmp" LDFLAGS="\$LDFLAGS -fopenmp"
+mex -o 'mex_build_V.cpp' 'slpRectangle.cpp' CFLAGS="\$CFLAGS -fopenmp" CXXFLAGS="\$CXXFLAGS -fopenmp" LDFLAGS="\$LDFLAGS -fopenmp"
% mex mex_build_V.cpp slpRectangle.cpp