5#ifndef DUNE_GEOGRID_INTERSECTIONITERATOR_HH
6#define DUNE_GEOGRID_INTERSECTIONITERATOR_HH
19 template<
class Gr
id,
class HostIntersectionIterator >
22 typedef typename std::remove_const< Grid >::type::Traits Traits;
26 typedef typename Traits::template Codim< 0 >::Geometry ElementGeometry;
27 typedef typename Traits::template Codim< 0 >::GeometryImpl ElementGeometryImpl;
35 template<
class Entity >
37 const HostIntersectionIterator &hostIterator )
38 : hostIterator_( hostIterator )
39 , insideGeo_( inside.geometry().impl() )
43 : hostIterator_( other.hostIterator_ )
44 , insideGeo_( other.insideGeo_ )
48 : hostIterator_(
std::move( other.hostIterator_ ) )
49 , insideGeo_(
std::move( other.insideGeo_ ) )
54 hostIterator_ = other.hostIterator_;
55 insideGeo_ = other.insideGeo_;
61 hostIterator_ = std::move( other.hostIterator_ );
62 insideGeo_ = std::move( other.insideGeo_ );
68 return (hostIterator_ == other.hostIterator_);
83 HostIntersectionIterator hostIterator_;
84 ElementGeometryImpl insideGeo_;
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
DUNE-conform implementation of the entity.
Definition: geometrygrid/entity.hh:694
Definition: geometrygrid/intersectioniterator.hh:21
IntersectionIterator(const IntersectionIterator &other)
Definition: geometrygrid/intersectioniterator.hh:42
IntersectionIterator(const Entity &inside, const HostIntersectionIterator &hostIterator)
Definition: geometrygrid/intersectioniterator.hh:36
Intersection dereference() const
Definition: geometrygrid/intersectioniterator.hh:76
bool equals(const IntersectionIterator &other) const
Definition: geometrygrid/intersectioniterator.hh:66
IntersectionIterator & operator=(const IntersectionIterator &other)
Definition: geometrygrid/intersectioniterator.hh:52
Dune::Intersection< Grid, IntersectionImpl > Intersection
Definition: geometrygrid/intersectioniterator.hh:30
void increment()
Definition: geometrygrid/intersectioniterator.hh:71
IntersectionIterator()
Definition: geometrygrid/intersectioniterator.hh:32
IntersectionIterator(IntersectionIterator &&other)
Definition: geometrygrid/intersectioniterator.hh:47
Definition: geometrygrid/intersection.hh:22