28 template <
class Coeff,
class Gr
idFct,
class BitVector>
29 void operator()(Coeff& coeff, GridFct
const& gf, BitVector
const& bitVec)
const
32 auto lf = localFunction(gf);
33 auto localView = basis_.localView();
35 std::vector<typename Coeff::value_type> localCoeff;
37 for (
const auto& e : entitySet(basis_))
42 auto&& subTree = Dune::TypeTree::child(localView.tree(),treePath_);
43 Traversal::forEachLeafNode(subTree, [&](
auto const& node,
auto const& tp)
45 auto bitVecRange = mappedRangeView(Dune::range(node.size()), [&](std::size_t i) ->
bool {
46 return bitVec[localView.index(node.localIndex(i))];
50 std::vector<bool> mask(bitVecRange.begin(), bitVecRange.end());
51 if (std::all_of(mask.begin(), mask.end(), [](
bool m) { return !m; }))
66 template <
class Coeff,
class Gr
idFct>
67 void operator()(Coeff& coeff, GridFct
const& gf)
const
78 TreePath treePath_ = {};