1#ifndef DUNE_FEM_GRIDPART_GEOMETRYGRIDPART_INTERSECTIONITERATOR_HH
2#define DUNE_FEM_GRIDPART_GEOMETRYGRIDPART_INTERSECTIONITERATOR_HH
6#include <dune/grid/common/intersectioniterator.hh>
19 template<
class Gr
idFamily >
24 typedef typename std::remove_const_t< GridFamily >::Traits Traits;
26 typedef typename Traits::HostGridPartType::IntersectionIteratorType HostIntersectionIteratorType;
28 typedef typename Traits::template Codim< 0 >::Entity Entity;
29 typedef typename Traits::template Codim< 0 >::Geometry ElementGeometry;
31 typedef typename Traits::GridFunctionType GridFunctionType;
36 typedef Dune::Intersection< const GridFamily, IntersectionImplType >
Intersection;
41 : hostIterator_( hostIterator ), gridFunction_( &inside.impl().gridFunction() ), insideGeo_( inside.geometry().impl() )
44 bool equals (
const ThisType &other )
const {
return (hostIterator_ == other.hostIterator_); }
51 HostIntersectionIteratorType hostIterator_;
52 const GridFunctionType *gridFunction_ =
nullptr;
53 typename ElementGeometry::Implementation insideGeo_;
Definition: bindguard.hh:11
Definition: geometrygridpart/intersection.hh:23
Definition: geometrygridpart/intersectioniterator.hh:21
void increment()
Definition: geometrygridpart/intersectioniterator.hh:46
Intersection dereference() const
Definition: geometrygridpart/intersectioniterator.hh:48
GeometryGridPartIntersectionIterator()=default
Dune::Intersection< const GridFamily, IntersectionImplType > Intersection
Definition: geometrygridpart/intersectioniterator.hh:36
bool equals(const ThisType &other) const
Definition: geometrygridpart/intersectioniterator.hh:44
GeometryGridPartIntersectionIterator(const Entity &inside, const HostIntersectionIteratorType &hostIterator)
Definition: geometrygridpart/intersectioniterator.hh:40