5#ifndef DUNE_ALBERTA_INTERSECTIONITERATOR_HH 
    6#define DUNE_ALBERTA_INTERSECTIONITERATOR_HH 
    8#include <dune/grid/common/intersectioniterator.hh> 
   10#include <dune/grid/albertagrid/intersection.hh> 
   25  template< 
class Gr
idImp >
 
   26  class AlbertaGridLeafIntersectionIterator
 
   28    typedef AlbertaGridLeafIntersectionIterator< GridImp > This;
 
   33    static const int dimension = Intersection::Entity::dimension;
 
   39    typedef AlbertaGridLeafIntersection< GridImp > IntersectionImp;
 
   42    AlbertaGridLeafIntersectionIterator ()
 
   45    template< 
class EntityImp >
 
   46    AlbertaGridLeafIntersectionIterator ( 
const EntityImp &entity, Begin )
 
   47      : intersection_( IntersectionImp( entity, 0 ) )
 
   50    template< 
class EntityImp >
 
   51    AlbertaGridLeafIntersectionIterator ( 
const EntityImp &entity, End )
 
   52      : intersection_( IntersectionImp( entity, dimension+1 ) )
 
   55    AlbertaGridLeafIntersectionIterator ( 
const This &other )
 
   56      : intersection_( other.intersection_.impl() )
 
   59    This &operator= ( 
const This &other )
 
   61      intersection_.impl() = other.intersection_.impl();
 
   65    const Intersection &dereference ()
 const 
   70    bool equals ( 
const This &other )
 const 
   72      return (intersection_.impl() == other.intersection_.impl());
 
   77      intersection_.impl().next();
 
   81    Intersection intersection_;
 
Intersection of a mesh entity of codimension 0 ("element") with a "neighboring" element or with the d...
Definition: intersection.hh:164
 
Dune namespace.
Definition: alignedallocator.hh:13