50 bool operator()(
const T& elem)
const
52 const auto& aquiferCells = grid_.sortedNumAquiferCells();
53 if (aquiferCells.empty())
57 auto candidate = std::lower_bound(aquiferCells.begin(),
58 aquiferCells.end(), elem.index());
59 return candidate != aquiferCells.end() && *candidate == elem.index();
63 const Dune::CpGrid& grid_;