3#include <dune/common/typeutilities.hh>
4#include <amdis/linearalgebra/Traits.hpp>
10 template <
class Basis>
11 auto entitySetImpl(Basis
const& basis, Dune::PriorityTag<2>)
12 ->
decltype(basis.entitySet())
14 return basis.entitySet();
17 template <
class Basis>
18 auto entitySetImpl(Basis
const& basis, Dune::PriorityTag<1>)
20 return elements(basis.gridView(), BackendTraits::PartitionSet{});
32 template <
class Basis>
33 auto entitySet(Basis
const& basis)
35 return Impl::entitySetImpl(basis, Dune::PriorityTag<5>{});