1#ifndef DUNE_FEM_GRIDPART_GEOGRIDPART_INTERSECTIONITERATOR_HH
2#define DUNE_FEM_GRIDPART_GEOGRIDPART_INTERSECTIONITERATOR_HH
7#include <dune/grid/common/intersectioniterator.hh>
20 template<
class Gr
idFamily >
25 typedef typename std::remove_const< GridFamily >::type::Traits Traits;
27 typedef typename Traits::CoordFunctionType CoordFunctionType;
28 typedef typename Traits::template Codim< 0 >::Geometry ElementGeometryType;
29 typedef typename Traits::HostGridPartType::IntersectionIteratorType HostIntersectionIteratorType;
34 typedef Dune::Intersection< const GridFamily, IntersectionImplType >
Intersection;
38 template<
class Entity >
40 HostIntersectionIteratorType hostIterator )
42 insideGeo_( inside.geometry() ),
43 hostIterator_(
std::move( hostIterator ) )
48 return hostIterator_ == other.hostIterator_;
63 assert( coordFunction_ );
64 return *coordFunction_;
68 const CoordFunctionType *coordFunction_ =
nullptr;
69 ElementGeometryType insideGeo_;
70 HostIntersectionIteratorType hostIterator_;
Definition: bindguard.hh:11
Definition: geogridpart/intersection.hh:20
Definition: geogridpart/intersectioniterator.hh:22
GeoIntersectionIterator(const Entity &inside, HostIntersectionIteratorType hostIterator)
Definition: geogridpart/intersectioniterator.hh:39
Dune::Intersection< const GridFamily, IntersectionImplType > Intersection
Definition: geogridpart/intersectioniterator.hh:34
const CoordFunctionType & coordFunction() const
Definition: geogridpart/intersectioniterator.hh:61
GeoIntersectionIterator()=default
Intersection dereference() const
Definition: geogridpart/intersectioniterator.hh:56
void increment()
Definition: geogridpart/intersectioniterator.hh:51
bool equals(const ThisType &other) const
Definition: geogridpart/intersectioniterator.hh:46