3 #include <dune/common/version.hh> 8 template <
class PB,
class TP>
9 auto makeNode(PB
const& preBasis, [[maybe_unused]] TP
const& treePath)
11 return preBasis.node(treePath);
15 template <
class PB,
class TP>
16 using Node_t = decltype(makeNode(std::declval<PB>(), std::declval<TP>()));
20 class Tree =
typename PB::Node,
21 class Iter =
typename std::vector<typename PB::MultiIndex>::iterator>
22 using PreBasisHasIndicesConcept
23 = decltype(std::declval<PB>().indices(std::declval<Tree>(), std::declval<Iter>()));
28 template <
class PB,
class TP>
29 auto makeNodeIndexSet(PB
const& preBasis, [[maybe_unused]] TP
const& treePath)
31 return preBasis.template indexSet<TP>();
35 template <
class PB,
class TP>
36 using NodeIndexSet_t = decltype(makeNodeIndexSet(std::declval<PB>(), std::declval<TP>()));
Definition: AdaptBase.hpp:6