From d88cf4159cf8144e5fc7683913741d4aa1777d50 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 1 Feb 2015 14:34:58 +0000
Subject: [PATCH] Print the number of levels together with the error

[[Imported from SVN: r10050]]
---
 src/harmonicmaps.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc
index a6091a66..4b1c1159 100644
--- a/src/harmonicmaps.cc
+++ b/src/harmonicmaps.cc
@@ -265,7 +265,9 @@ int main (int argc, char *argv[]) try
                                                                                                        referenceSolution.get(),
                                                                                                        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;
 
-- 
GitLab