From 526e4fd22ae1f7638248ad5df7f0a356fa3dd9a5 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Tue, 6 Mar 2012 12:08:11 +0000
Subject: [PATCH] Removed some debug output.

---
 AMDiS/src/BoundaryManager.cc | 2 --
 AMDiS/src/io/MacroReader.cc  | 8 +++++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/AMDiS/src/BoundaryManager.cc b/AMDiS/src/BoundaryManager.cc
index 67baf96e..7e9ca54b 100644
--- a/AMDiS/src/BoundaryManager.cc
+++ b/AMDiS/src/BoundaryManager.cc
@@ -49,8 +49,6 @@ namespace AMDiS {
   {
     FUNCNAME("BoundaryManager::addBoundaryCondition()");
   
-    MSG("ADD BC\n");
-
     BoundaryType type = localBC->getBoundaryType();
     TEST_EXIT(localBCs[type] == NULL)
       ("There is already a condition for this type %d.\n",type);
diff --git a/AMDiS/src/io/MacroReader.cc b/AMDiS/src/io/MacroReader.cc
index b6aaaaa4..5ab776ff 100644
--- a/AMDiS/src/io/MacroReader.cc
+++ b/AMDiS/src/io/MacroReader.cc
@@ -206,20 +206,22 @@ namespace AMDiS {
 	}
       }
 
+#if (DEBUG != 0)
       std::map<BoundaryType, VertexVector*>::iterator assoc;
       std::map<BoundaryType, VertexVector*>::iterator assocEnd =
 	mesh->periodicAssociations.end();
-      for (assoc = mesh->periodicAssociations.begin(); assoc != assocEnd; ++assoc) {
+      for (assoc = mesh->periodicAssociations.begin(); 
+	   assoc != assocEnd; ++assoc)
 	for (int i = 0; i < mesh->getNumberOfVertices(); i++)
 	  if (i != (*(assoc->second))[i])
 	    MSG("association %d: vertex %d -> vertex %d\n", 
-		assoc->first, i, (*(assoc->second))[i]);	
-      }
+		assoc->first, i, (*(assoc->second))[i]);
 
       for (int i = 0; i < mesh->getNumberOfVertices(); i++)
 	if (periodicMap.getEntry(i) != -1)
 	  MSG("identification : vertex %d is now vertex %d\n", 
 	      i, periodicMap.getEntry(i));
+#endif
 
     } // periodicFile
 
-- 
GitLab