Class template Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap¶
Inherits from Dune::XT::Grid::IntersectionFilter.
-
template<class GV>
class Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap : public IntersectionFilter<GV>¶ A filter which selects each inner intersection only once. Other than InnerIntersectionsOnce, this also works if we only walk over a subset of the grid elements (if the correct map is provided).
InnerIntersectionOnce selects each inner intersection only once. However, this only works if we always visit the elements on both sides of each intersection. If we only walk over a subset of the grid elements, we will visit some of the intersections only from one side. In that case, InnerIntersectionsOnceMap can be used. However, as it is hard to tell which intersections are visited from both sides, the user has to provide a map which contains for each entity index a set of outer element indices for which the intersection should be skipped. To visit each intersection exactly once, one side of intersections which are visited from both sides has to show up in the ignore map. The map can be created from the set of entities by calling the fill_ignore_map method.
See also:
InnerIntersectionsOnce
-
static void Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap::fill_ignore_map(int &outside_indices_to_ignore, const int)¶
No documentation provided.
-
IntersectionFilter<GridViewType> *Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap::copy() const final¶
No documentation provided.
-
bool Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap::contains(const GridViewType &grid_layer, const IntersectionType &intersection) const final¶
No documentation provided.
-
template<>
Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap::InnerIntersectionsOnceMap<GV>(const int &outside_indices_to_ignore)¶ No documentation provided.
-
const int &Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap::outside_indices_to_ignore_¶
No documentation provided.
-
type Dune::XT::Grid::ApplyOn::InnerIntersectionsOnceMap::BaseType¶
No documentation provided.