Skip to content

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 in ISTLVectorBackend assignment to make this work for Dune::TupleVector
  • Use istlVectorBackend(range)=0 to assign zero for the range type to make this work for std::array and Dune::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).

Merge request reports