Skip to content
Snippets Groups Projects
Commit d88cf415 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Print the number of levels together with the error

[[Imported from SVN: r10050]]
parent 02a3cb4c
No related branches found
No related tags found
No related merge requests found
...@@ -265,7 +265,9 @@ int main (int argc, char *argv[]) try ...@@ -265,7 +265,9 @@ int main (int argc, char *argv[]) try
referenceSolution.get(), referenceSolution.get(),
quadKey); quadKey);
std::cout << "L^2 error: " << l2Error std::cout << "levels: " << numLevels
<< " "
<< "L^2 error: " << l2Error
<< " "; << " ";
std::cout << "H^1 error: " << std::sqrt(l2Error*l2Error + h1Error) << std::endl; std::cout << "H^1 error: " << std::sqrt(l2Error*l2Error + h1Error) << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment