Skip to content
Snippets Groups Projects
Commit 04b2b5ca authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Implement DefaultBitVector_t for MultiTypeBlockVector

parent 3a75f982
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
#include <dune/common/fvector.hh> #include <dune/common/fvector.hh>
#include <dune/istl/bvector.hh> #include <dune/istl/bvector.hh>
#include <dune/istl/multitypeblockvector.hh>
#include <dune/solvers/common/tuplevector.hh>
namespace Dune { namespace Dune {
namespace Solvers { namespace Solvers {
...@@ -37,6 +40,12 @@ struct DefaultBitVector<BlockVector<FieldVector<T,i>, A>> ...@@ -37,6 +40,12 @@ struct DefaultBitVector<BlockVector<FieldVector<T,i>, A>>
using type = BitSetVector<i>; using type = BitSetVector<i>;
}; };
template<typename... Args>
struct DefaultBitVector<MultiTypeBlockVector<Args...> >
{
using type = TupleVector<typename DefaultBitVector<Args>::type...>;
};
} // end namespace Imp } // end namespace Imp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment