Class template Dune::XT::Grid::Walker¶
-
template<class Gl>
class Dune::XT::Grid::Walker¶ Walks a grid view and applies appended (filtered) element and intersection functors, optionally in parallel.
-
ThisType &Dune::XT::Grid::Walker::append(ElementFunctor<GV> &functor, const ElementFilter<GV> &filter = ApplyOn::AllElements<GV>())¶
\ {
These methods can be used to append an \sa ElementFunctor.
-
ThisType &Dune::XT::Grid::Walker::append(ElementFunctor<GV> *&&functor, const ElementFilter<GV> &filter = ApplyOn::AllElements<GV>())¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(ElementFunctor<GV> &functor, GenericElementFilterFunctionType filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(ElementFunctor<GV> *&&functor, GenericElementFilterFunctionType filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(const VoidFunctionType &prepare_func, GenericElementApplyFunctionType apply_func, const VoidFunctionType &finalize_func, const ElementFilter<GV> &filter = ApplyOn::AllElements<GV>())¶
\ }
These methods can be used to append an element lambda expression.
\ {
-
ThisType &Dune::XT::Grid::Walker::append(const VoidFunctionType &prepare_func, GenericElementApplyFunctionType apply_func, const VoidFunctionType &finalize_func, GenericElementFilterFunctionType filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(IntersectionFunctor<GV> &functor, const IntersectionFilter<GV> &filter = ApplyOn::AllIntersections<GV>())¶
\ }
These methods can be used to append an \sa IntersectionFunctor.
\ {
-
ThisType &Dune::XT::Grid::Walker::append(IntersectionFunctor<GV> *&&functor, const IntersectionFilter<GV> &filter = ApplyOn::AllIntersections<GV>())¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(IntersectionFunctor<GV> &functor, GenericIntersectionFilterFunctionType filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(IntersectionFunctor<GV> *&&functor, GenericIntersectionFilterFunctionType filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(const VoidFunctionType &prepare_func, GenericIntersectionApplyFunctionType apply_func, const VoidFunctionType &finalize_func, const IntersectionFilter<GV> &filter = ApplyOn::AllIntersections<GV>())¶
\ }
These methods can be used to append an intersection lambda expression.
\ {
-
ThisType &Dune::XT::Grid::Walker::append(const VoidFunctionType &prepare_func, GenericIntersectionApplyFunctionType apply_func, const VoidFunctionType &finalize_func, GenericIntersectionFilterFunctionType filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(ElementAndIntersectionFunctor<GV> &functor, const IntersectionFilter<GV> &intersection_filter = ApplyOn::AllIntersections<GV>(), const ElementFilter<GV> &element_filter = ApplyOn::AllElements<GV>())¶
\ }
These methods can be used to append an \sa ElementAndIntersectionFunctor.
\ {
-
ThisType &Dune::XT::Grid::Walker::append(ElementAndIntersectionFunctor<GV> *&&functor, const IntersectionFilter<GV> &intersection_filter = ApplyOn::AllIntersections<GV>(), const ElementFilter<GV> &element_filter = ApplyOn::AllElements<GV>())¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(ElementAndIntersectionFunctor<GV> &functor, GenericElementFilterFunctionType element_filter, GenericIntersectionFilterFunctionType intersection_filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(ElementAndIntersectionFunctor<GV> *&&functor, GenericElementFilterFunctionType element_filter, GenericIntersectionFilterFunctionType intersection_filter)¶
No documentation provided.
-
ThisType &Dune::XT::Grid::Walker::append(const VoidFunctionType &prepare_func, GenericElementApplyFunctionType element_apply_on, GenericIntersectionApplyFunctionType intersection_apply_on, const VoidFunctionType &finalize_func, const ElementFilter<GV> &element_filter = ApplyOn::AllElements<GV>(), const IntersectionFilter<GV> &intersection_filter = ApplyOn::AllIntersections<GV>())¶
\ }
These methods can be used to append element and intersection lambda expressions.
\ {
-
ThisType &Dune::XT::Grid::Walker::append(const VoidFunctionType &prepare_func, GenericElementApplyFunctionType element_apply_on, GenericIntersectionApplyFunctionType intersection_apply_on, const VoidFunctionType &finalize_func, GenericElementFilterFunctionType element_filter, GenericIntersectionFilterFunctionType intersection_filter)¶
No documentation provided.
-
void Dune::XT::Grid::Walker::prepare() override¶
\ }
These methods are required by ElementAndIntersectionFunctor.
\ {
-
void Dune::XT::Grid::Walker::apply_local(const ElementType &element) override¶
No documentation provided.
-
void Dune::XT::Grid::Walker::apply_local(const ElementType &element, int &element_functor_wrappers, int &element_and_intersection_functor_wrappers)¶
No documentation provided.
-
void Dune::XT::Grid::Walker::apply_local(const IntersectionType &intersection, const ElementType &inside_element, const ElementType &outside_element) override¶
No documentation provided.
-
virtual void Dune::XT::Grid::Walker::apply_local(const IntersectionType &intersection, const ElementType &inside_element, const ElementType &outside_element, int &intersection_functor_wrappers, int &element_and_intersection_functor_wrappers)¶
No documentation provided.
-
void Dune::XT::Grid::Walker::walk(const bool use_tbb = false, const bool clear_functors = true)¶
\ }
-
template<>
explicit Dune::XT::Grid::Walker::Walker<Gl>(GridViewType grd_vw)¶ No documentation provided.
-
template<>
Dune::XT::Grid::Walker::Walker<Gl>(ThisType &&source) noexcept = default¶ No documentation provided.
-
template<>
~Walker<GV>() override = default¶ No documentation provided.
-
int Dune::XT::Grid::Walker::stored_element_and_intersection_functor_wrappers_¶
No documentation provided.
-
template<typename WrapperType, class ...Args>
void Dune::XT::Grid::Walker::emplace_all(int &storage, int &thread_storage, Args&&... args)¶ No documentation provided.
-
template<class PartioningType>
void Dune::XT::Grid::Walker::walk(PartioningType &partitioning)¶ No documentation provided.
-
template<class ElementRange>
void Dune::XT::Grid::Walker::walk_range(const ElementRange &element_range)¶ No documentation provided.