Class template Dune::XT::Grid::ApplyOn::PeriodicBoundaryIntersectionsOnce

Inherits from Dune::XT::Grid::IntersectionFilter.

template<class GV>
class Dune::XT::Grid::ApplyOn::PeriodicBoundaryIntersectionsOnce : public IntersectionFilter<GV>

A filter which selects intersections on a periodic boundary only once.

intersection.neighbor() && intersection.boundary()

To decide if this in an periodic intersection,

is used, and true is returned, if the index of the inside() element is smaller than the index of the outside() element.

Note

Use a proper mapper, the indixes are not unique if the view contains more than one codim 0 element type!

See also: Walker, IntersectionFilter

IntersectionFilter<GridViewType> *Dune::XT::Grid::ApplyOn::PeriodicBoundaryIntersectionsOnce::copy() const final

No documentation provided.

bool Dune::XT::Grid::ApplyOn::PeriodicBoundaryIntersectionsOnce::contains(const GridViewType &grid_layer, const IntersectionType &intersection) const final

No documentation provided.

template<>
explicit Dune::XT::Grid::ApplyOn::PeriodicBoundaryIntersectionsOnce::PeriodicBoundaryIntersectionsOnce<GV>() = default

No documentation provided.

type Dune::XT::Grid::ApplyOn::PeriodicBoundaryIntersectionsOnce::BaseType

No documentation provided.