From 0a28c22a9347098b698644bb6a8f7bf9cbf408ea Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Tue, 5 May 2009 08:10:01 +0000
Subject: [PATCH] nothing

---
 AMDiS/src/DOFMatrix.cc  | 2 +-
 AMDiS/src/ProblemVec.cc | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/AMDiS/src/DOFMatrix.cc b/AMDiS/src/DOFMatrix.cc
index 7d4a579c..946d1e58 100644
--- a/AMDiS/src/DOFMatrix.cc
+++ b/AMDiS/src/DOFMatrix.cc
@@ -218,7 +218,7 @@ namespace AMDiS {
 
   void DOFMatrix::freeDOFContent(int index)
   {
-      if (matrix.nnz() == 0) return;
+    if (matrix.nnz() == 0) return;
 
     using mtl::tag::major; using mtl::tag::nz; using mtl::begin; using mtl::end;
     namespace traits= mtl::traits;
diff --git a/AMDiS/src/ProblemVec.cc b/AMDiS/src/ProblemVec.cc
index a0a5e6f8..6fa3e61e 100644
--- a/AMDiS/src/ProblemVec.cc
+++ b/AMDiS/src/ProblemVec.cc
@@ -797,8 +797,14 @@ namespace AMDiS {
  	if ((*systemMatrix)[i][j]) 
  	  (*systemMatrix)[i][j]->finishInsertion();
 
+    clock_t first1 = clock();
     solverMatrix.setMatrix(*systemMatrix);
+    clock_t first2 = clock();
     createPrecon();
+    clock_t first3 = clock();
+
+    std::cout << "T1 = " << TIME_USED(first1, first2) << std::endl;
+    std::cout << "T2 = " << TIME_USED(first2, first3) << std::endl;
 
 #ifdef _OPENMP
     INFO(info, 8)("buildAfterCoarsen needed %.5f seconds system time / %.5f seconds wallclock time\n",
-- 
GitLab