version 3.10-dev
Dumux::Detail::GridIntersectionIterator< GV > Class Template Reference

Iterate over the GridViews boundary intersections This will visit all intersections for which boundary() is true and neighbor() is false.

#include <dumux/io/vtk/intersectionwriter.hh>

Inheritance diagram for Dumux::Detail::GridIntersectionIterator< GV >:

Public Types

using DerivedType = GridIntersectionIterator< GV >
 
using Intersection = typename GV::Intersection
 
using Value = const Intersection
 
using ElementIterator = typename GV::template Codim< 0 >::Iterator
 
using IntersectionIterator = typename GV::IntersectionIterator
 
using DifferenceType = typename std::iterator_traits< ElementIterator >::difference_type
 

Public Member Functions

 GridIntersectionIterator (const GV &gv, bool end=false)
 Construct a GridIntersectionIterator If end == true, construct an end iterator for the given gridview. Otherwise, construct a begin iterator. More...
 
const Intersectiondereference () const
 
bool equals (const DerivedType &other) const
 
void increment ()
 

Member Typedef Documentation

◆ DerivedType

template<typename GV >
using Dumux::Detail::GridIntersectionIterator< GV >::DerivedType = GridIntersectionIterator<GV>

◆ DifferenceType

template<typename GV >
using Dumux::Detail::GridIntersectionIterator< GV >::DifferenceType = typename std::iterator_traits<ElementIterator>::difference_type

◆ ElementIterator

template<typename GV >
using Dumux::Detail::GridIntersectionIterator< GV >::ElementIterator = typename GV::template Codim<0>::Iterator

◆ Intersection

template<typename GV >
using Dumux::Detail::GridIntersectionIterator< GV >::Intersection = typename GV::Intersection

◆ IntersectionIterator

template<typename GV >
using Dumux::Detail::GridIntersectionIterator< GV >::IntersectionIterator = typename GV::IntersectionIterator

◆ Value

template<typename GV >
using Dumux::Detail::GridIntersectionIterator< GV >::Value = const Intersection

Constructor & Destructor Documentation

◆ GridIntersectionIterator()

template<typename GV >
Dumux::Detail::GridIntersectionIterator< GV >::GridIntersectionIterator ( const GV &  gv,
bool  end = false 
)
inline

Member Function Documentation

◆ dereference()

template<typename GV >
const Intersection & Dumux::Detail::GridIntersectionIterator< GV >::dereference ( ) const
inline

◆ equals()

template<typename GV >
bool Dumux::Detail::GridIntersectionIterator< GV >::equals ( const DerivedType other) const
inline

◆ increment()

template<typename GV >
void Dumux::Detail::GridIntersectionIterator< GV >::increment ( )
inline

The documentation for this class was generated from the following file: