5#ifndef DUNE_GRID_YASPGRIDINTERSECTIONITERATOR_HH
6#define DUNE_GRID_YASPGRIDINTERSECTIONITERATOR_HH
20 template<
class Gr
idImp>
23 constexpr static int dim = GridImp::dimension;
32 intersection_.
impl()._count += (intersection_.
impl()._count < 2*dim);
38 return intersection_ == other.intersection_;
44 intersection_.
impl().update();
58 : intersection_(other.intersection_)
64 intersection_ = other.intersection_;
Include standard header files.
Definition: agrid.hh:60
Intersection of a mesh entity of codimension 0 ("element") with a "neighboring" element or with the d...
Definition: common/intersection.hh:164
Implementation & impl()
access to the underlying implementation
Definition: common/intersection.hh:178
YaspIntersectionIterator enables iteration over intersections with neighboring codim 0 entities.
Definition: yaspgridintersectioniterator.hh:22
const Intersection & dereference() const
dereferencing
Definition: yaspgridintersectioniterator.hh:42
YaspIntersectionIterator(const YaspIntersectionIterator &other)
copy constructor
Definition: yaspgridintersectioniterator.hh:57
Dune::YaspIntersection< GridImp > IntersectionImp
Definition: yaspgridintersectioniterator.hh:26
Dune::Intersection< GridImp, IntersectionImp > Intersection
Definition: yaspgridintersectioniterator.hh:27
void increment()
increment
Definition: yaspgridintersectioniterator.hh:30
YaspIntersectionIterator & operator=(const YaspIntersectionIterator &other)
assignment
Definition: yaspgridintersectioniterator.hh:62
YaspIntersectionIterator(const YaspEntity< 0, dim, GridImp > &myself, bool toend)
make intersection iterator from entity
Definition: yaspgridintersectioniterator.hh:52
bool equals(const YaspIntersectionIterator &other) const
equality
Definition: yaspgridintersectioniterator.hh:36
YaspIntersectionIterator()
Definition: yaspgridintersectioniterator.hh:48
YaspIntersection provides data about intersection with neighboring codim 0 entities.
Definition: yaspgridintersection.hh:22
Definition: yaspgridentity.hh:434