dune-mmesh (1.4)
intersectioniterator.hh
Go to the documentation of this file.
42 typedef Dune::Intersection<const GridImp, Dune::MMeshInterfaceGridLeafIntersection<GridImp> > Intersection;
56 const auto& cgalIndex = MMeshInterfaceImpl::computeCGALIndices<MMeshInterfaceEntity, dimension>( hostEntity );
67 ids[0] = indexSet.vertexIndexMap().at( hostEntity.first->vertex( cgalIndex[d==2 ? 1 : 0] )->info().id );
68 ids[1] = indexSet.vertexIndexMap().at( hostEntity.first->vertex( cgalIndex[d==0 ? 1 : 2] )->info().id );
Iterator over all element neighborsMesh entities of codimension 0 ("elements") allow to visit all nei...
Definition: intersectioniterator.hh:30
MMeshInterfaceGridLeafIntersectionIterator(const GridImp *grid, const MMeshInterfaceEntity &hostEntity)
constructor for (begin) iterator
Definition: intersectioniterator.hh:48
MMeshInterfaceGridLeafIntersectionIterator(const GridImp *grid, const MMeshInterfaceEntity &hostEntity, bool endDummy)
constructor for end iterator
Definition: intersectioniterator.hh:84
Intersection dereference() const
dereferencing
Definition: intersectioniterator.hh:116
void increment()
prefix increment
Definition: intersectioniterator.hh:101
bool equals(const MMeshInterfaceGridLeafIntersectionIterator &other) const
returns if iterators reference same intersection
Definition: intersectioniterator.hh:94
MMeshInterfaceGridLeafIntersectionIterator()
default constructor
Definition: intersectioniterator.hh:45
An intersection with a leaf neighbor elementMesh entities of codimension 0 ("elements") allow to visi...
Definition: intersections.hh:37
The MMeshInterfaceGridEntity class.
The MMeshInterfaceGridLeafIntersection and MMeshLevelIntersection classes.
