Skip to content
Snippets Groups Projects
Commit 9a797aba authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[stuff.common.matrix] disabled lots of functionality, because it failed me in the included header

parent f290db21
No related branches found
No related tags found
No related merge requests found
#ifndef DUNE_STUFF_COMMON_MATRIX_HH #ifndef DUNE_STUFF_COMMON_MATRIX_HH
#define DUNE_STUFF_COMMON_MATRIX_HH #define DUNE_STUFF_COMMON_MATRIX_HH
#ifdef THIS_WORKS
#include <dune/fem/operator/matrix/spmatrix.hh> #include <dune/fem/operator/matrix/spmatrix.hh>
#include <dune/common/static_assert.hh> #include <dune/common/static_assert.hh>
#include <dune/stuff/common/debug.hh> #include <dune/stuff/common/debug.hh>
...@@ -11,6 +12,7 @@ ...@@ -11,6 +12,7 @@
#include <dune/fem/operator/matrix/istlmatrix.hh> #include <dune/fem/operator/matrix/istlmatrix.hh>
#include <dune/fem/operator/matrix/preconditionerwrapper.hh> #include <dune/fem/operator/matrix/preconditionerwrapper.hh>
#endif // if HAVE_DUNE_ISTL #endif // if HAVE_DUNE_ISTL
#endif // THIS_WORKS
namespace Dune { namespace Dune {
...@@ -33,6 +35,7 @@ void clear(DenseMatrixType& matrix) ...@@ -33,6 +35,7 @@ void clear(DenseMatrixType& matrix)
} }
} // void clear(DenseMatrixType& matrix) } // void clear(DenseMatrixType& matrix)
#ifdef THIS_WORKS
// ! TODO // ! TODO
template <class MatrixImp> template <class MatrixImp>
struct PrecondionWrapperDummy : public Preconditioner<typename MatrixImp::RowDiscreteFunctionType::DofStorageType, struct PrecondionWrapperDummy : public Preconditioner<typename MatrixImp::RowDiscreteFunctionType::DofStorageType,
...@@ -323,6 +326,7 @@ void forceTranspose(const M& arg, M& dest) ...@@ -323,6 +326,7 @@ void forceTranspose(const M& arg, M& dest)
for (int j = 0; j < arg.rows(); ++j) for (int j = 0; j < arg.rows(); ++j)
dest.set(j, i, arg(i, j)); dest.set(j, i, arg(i, j));
} // forceTranspose } // forceTranspose
#endif // THIS_WORKS
} // namespace Matrix } // namespace Matrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment