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.

void Dune::XT::Grid::Walker::reinitialize_thread_storage()

No documentation provided.

const GridViewType &Dune::XT::Grid::Walker::grid_view() const

No documentation provided.

GridViewType &Dune::XT::Grid::Walker::grid_view()

No documentation provided.

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::prepare_thread()

No documentation provided.

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::finalize() override

No documentation provided.

void Dune::XT::Grid::Walker::walk(const bool use_tbb = false, const bool clear_functors = true)

\ }

void Dune::XT::Grid::Walker::clear()

No documentation provided.

BaseType *Dune::XT::Grid::Walker::copy() override

No documentation provided.

template<>
explicit Dune::XT::Grid::Walker::Walker<Gl>(GridViewType grd_vw)

No documentation provided.

template<>
Dune::XT::Grid::Walker::Walker<Gl>(const ThisType &other)

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.

GridViewType Dune::XT::Grid::Walker::grid_view_

No documentation provided.

int Dune::XT::Grid::Walker::stored_element_functor_wrappers_

No documentation provided.

int Dune::XT::Grid::Walker::stored_intersection_functor_wrappers_

No documentation provided.

int Dune::XT::Grid::Walker::stored_element_and_intersection_functor_wrappers_

No documentation provided.

int Dune::XT::Grid::Walker::element_functor_wrappers_

No documentation provided.

int Dune::XT::Grid::Walker::intersection_functor_wrappers_

No documentation provided.

int Dune::XT::Grid::Walker::element_and_intersection_functor_wrappers_

No documentation provided.

type Dune::XT::Grid::Walker::BaseType

No documentation provided.

type Dune::XT::Grid::Walker::ThisType

No documentation provided.

type Dune::XT::Grid::Walker::GenericElementApplyFunctionType

No documentation provided.

type Dune::XT::Grid::Walker::GenericIntersectionApplyFunctionType

No documentation provided.

type Dune::XT::Grid::Walker::GenericElementFilterFunctionType

No documentation provided.

type Dune::XT::Grid::Walker::GenericIntersectionFilterFunctionType

No documentation provided.

type Dune::XT::Grid::Walker::VoidFunctionType

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.