Commit 0aca9309 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

* Nothing important

parent 745701c4
......@@ -21,7 +21,6 @@ namespace AMDiS {
TraverseStack stack;
ElInfo *elInfo = stack.traverseFirst(mesh, -1, traverseFlag);
while (elInfo) {
std::cout << elInfo->getElement()->getIndex() << std::endl;
estimateElement(elInfo);
elInfo = stack.traverseNext(elInfo);
}
......
......@@ -552,9 +552,12 @@ namespace AMDiS {
for (int i = 0; i < nComponents; i++) {
DOFVector<double> *tmp = NEW DOFVector<double>(componentSpaces[i], "tmp");
tmp->interpol(exactSolutionFcts[i]);
double t = tmp->max();
*tmp -= *(solution_->getDOFVector(i));
double l2Error = tmp->L2Norm();
double maxError = tmp->max() / t;
MSG("L2 error = %.8e\n", l2Error);
MSG("Max error = %.8e\n", maxError);
DELETE tmp;
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment