From 9a797aba2c92ef59dc343cd13fefdf9c7321eba9 Mon Sep 17 00:00:00 2001
From: Felix Albrecht <felix.albrecht@uni-muenster.de>
Date: Fri, 20 Jul 2012 17:45:19 +0200
Subject: [PATCH] [stuff.common.matrix] disabled lots of functionality, because
 it failed me in the included header

---
 dune/stuff/common/matrix.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dune/stuff/common/matrix.hh b/dune/stuff/common/matrix.hh
index 6c3e05d46..d80a54c25 100644
--- a/dune/stuff/common/matrix.hh
+++ b/dune/stuff/common/matrix.hh
@@ -1,6 +1,7 @@
 #ifndef DUNE_STUFF_COMMON_MATRIX_HH
 #define DUNE_STUFF_COMMON_MATRIX_HH
 
+#ifdef THIS_WORKS
 #include <dune/fem/operator/matrix/spmatrix.hh>
 #include <dune/common/static_assert.hh>
 #include <dune/stuff/common/debug.hh>
@@ -11,6 +12,7 @@
 #include <dune/fem/operator/matrix/istlmatrix.hh>
 #include <dune/fem/operator/matrix/preconditionerwrapper.hh>
 #endif // if HAVE_DUNE_ISTL
+#endif // THIS_WORKS
 
 namespace Dune {
 
@@ -33,6 +35,7 @@ void clear(DenseMatrixType& matrix)
   }
 } // void clear(DenseMatrixType& matrix)
 
+#ifdef THIS_WORKS
 // ! TODO
 template <class MatrixImp>
 struct PrecondionWrapperDummy : public Preconditioner<typename MatrixImp::RowDiscreteFunctionType::DofStorageType,
@@ -323,6 +326,7 @@ void forceTranspose(const M& arg, M& dest)
     for (int j = 0; j < arg.rows(); ++j)
       dest.set(j, i, arg(i, j));
 } // forceTranspose
+#endif // THIS_WORKS
 
 } // namespace Matrix
 
-- 
GitLab