1 #ifndef DUNE_FEM_GRIDPART_FILTEREDGRIDPART_INTERSECTIONITERATOR_HH
2 #define DUNE_FEM_GRIDPART_FILTEREDGRIDPART_INTERSECTIONITERATOR_HH
9 #include <dune/grid/common/intersectioniterator.hh>
22 template<
class Gr
idPartFamily >
27 typedef typename std::remove_const_t< GridPartFamily >::Filter FilterType;
28 typedef typename std::remove_const_t< GridPartFamily >::HostGridPart::IntersectionIteratorType HostIteratorType;
33 typedef Dune::Intersection< GridPartFamily, IntersectionImpl >
Intersection;
47 const FilterType &
filter ()
const { assert( filter_ );
return *filter_; }
49 const HostIteratorType &
hostIterator ()
const {
return hostIterator_; }
53 const FilterType *filter_ =
nullptr;
54 HostIteratorType hostIterator_;
Definition: bindguard.hh:11
Definition: filteredgridpart/intersection.hh:21
Definition: filteredgridpart/intersectioniterator.hh:24
void increment()
Definition: filteredgridpart/intersectioniterator.hh:45
const HostIteratorType & hostIterator() const
Definition: filteredgridpart/intersectioniterator.hh:49
HostIteratorType & hostIterator()
Definition: filteredgridpart/intersectioniterator.hh:50
FilteredGridPartIntersectionIterator()=default
bool equals(const ThisType &other) const
Definition: filteredgridpart/intersectioniterator.hh:43
Intersection dereference() const
Definition: filteredgridpart/intersectioniterator.hh:41
FilteredGridPartIntersectionIterator(const FilterType &filter, HostIteratorType hostIterator)
Definition: filteredgridpart/intersectioniterator.hh:37
Dune::Intersection< GridPartFamily, IntersectionImpl > Intersection
Definition: filteredgridpart/intersectioniterator.hh:33
const FilterType & filter() const
Definition: filteredgridpart/intersectioniterator.hh:47