From 69f3cfcd6b35c9f71cd566102e38f54db96c332a Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 1 May 2011 11:54:04 +0000
Subject: [PATCH] don't compute and measure on the last grid.  Since we are
 doing uniform refinement that last grid is equal to the reference grid. 
 Hence computing there will lead to an error of zero and is a waste of time

[[Imported from SVN: r7233]]
---
 harmonicmaps-eoc.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/harmonicmaps-eoc.cc b/harmonicmaps-eoc.cc
index 1310a988..78e4ccd5 100644
--- a/harmonicmaps-eoc.cc
+++ b/harmonicmaps-eoc.cc
@@ -212,7 +212,7 @@ int main (int argc, char *argv[]) try
     std::ofstream logFile("harmonicmaps-eoc.results");
     logFile << "# vertices max-norm, L2-norm, h1-seminorm" << std::endl;
     
-    for (int i=1; i<=numLevels; i++) {
+    for (int i=1; i<numLevels; i++) {
 
         shared_ptr<GridType> grid;
         if (parameterSet.get<std::string>("gridType")=="structured") {
-- 
GitLab