Make DiscreteGlobalBasisFunction work non-istl range types like array and TupleVector
This enables DiscreteGlobalBasisFunction
to work with std::array
and Dune::TupleVector
as range type. This may be handy for complex nested bases. To enable this one needs:
- Use
Hybrid::forEach
inISTLVectorBackend
assignment to make this work forDune::TupleVector
- Use
istlVectorBackend(range)=0
to assign zero for the range type to make this work forstd::array
andDune::TupleVector
.
This also adds a test case with a complex nested power(composite(x,power(y)))
basis and corresponding range type to the test of DiscreteGLobalBasisFunction
. Currently this fails due to dune-typetree!106 (merged).