Skip to content
Snippets Groups Projects
Commit 8233e1f4 authored by Max Kahnt's avatar Max Kahnt
Browse files

Add traits for MultiTypeBlockMatrix.

parent e305bfbe
No related branches found
No related tags found
1 merge request!3Feature/multitype arithmetic
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <dune/common/diagonalmatrix.hh> #include <dune/common/diagonalmatrix.hh>
#include <dune/common/fmatrix.hh> #include <dune/common/fmatrix.hh>
#include <dune/istl/bcrsmatrix.hh> #include <dune/istl/bcrsmatrix.hh>
#include <dune/istl/multitypeblockmatrix.hh>
#include <dune/istl/scaledidmatrix.hh> #include <dune/istl/scaledidmatrix.hh>
namespace Dune { namespace Dune {
...@@ -50,6 +51,12 @@ namespace Dune { ...@@ -50,6 +51,12 @@ namespace Dune {
{ {
enum { isMatrix=true }; enum { isMatrix=true };
}; };
template<class... T>
struct MatrixTraits<MultiTypeBlockMatrix<T...> >
{
enum { isMatrix=true };
};
} }
} }
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment