Function Dune::GDT::doerfler_marking

Function template Dune::GDT::doerfler_marking

template<class V>
std::pair<std::set<size_t>, std::set<size_t>> Dune::GDT::doerfler_marking(const XT::LA::VectorInterface<V> &squared_local_indicators, const double &refine_factor, const double &coarsen_factor = 0.)

Doerfler marking: selects the elements with the largest contributions for refinement and the smallest for coarsening, based on the given squared local error indicators.