From ea1c91850659dec32ce516c9772a5a0466661e6d Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 14 Dec 2010 16:03:49 +0000
Subject: [PATCH] Print the algorithm type so we have it in the log files

[[Imported from SVN: r6596]]
---
 dirneucoupling.cc | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dirneucoupling.cc b/dirneucoupling.cc
index f1a3356d..3eb41866 100644
--- a/dirneucoupling.cc
+++ b/dirneucoupling.cc
@@ -111,7 +111,15 @@ int main (int argc, char *argv[]) try
     rodRestEndPoint[1][0] = parameterSet.get<double>("rodRestEndPoint1X");
     rodRestEndPoint[1][1] = parameterSet.get<double>("rodRestEndPoint1Y");
     rodRestEndPoint[1][2] = parameterSet.get<double>("rodRestEndPoint1Z");
-
+    
+    //////////////////////////////////////////////////////////////////
+    //  Print the algorithm type so we have it in the log files
+    //////////////////////////////////////////////////////////////////
+    
+    std::cout << "Algorithm:      " << ddType << std::endl;
+    if (ddType=="RichardsonIteration")
+        std::cout << "Preconditioner: " << preconditioner << std::endl;
+    
     // ///////////////////////////////////////
     //    Create the rod grid
     // ///////////////////////////////////////
-- 
GitLab