Dune::VTK::BoundaryIterator< GV > Class Template Reference

iterate over the GridViews boundary intersections More...

#include <dune/grid/io/file/vtk/boundaryiterators.hh>

List of all members.

Public Types

typedef BoundaryIterator< GV > DerivedType
typedef const GV::Intersection Value
typedef ValueReference
typedef GV::template Codim
< 0 >::Iterator 
ElementIterator
typedef GV::IntersectionIterator IntersectionIterator
typedef std::iterator_traits
< ElementIterator >
::difference_type 
DifferenceType

Public Member Functions

Reference dereference () const
bool equals (const DerivedType &other) const
void increment ()
 BoundaryIterator (const GV &gv_, const ElementIterator &eit_, const IntersectionIterator &iit_)
 construct a BoundaryIterator
 BoundaryIterator (const GV &gv_, const ElementIterator &eit_)
 construct a BoundaryIterator
 BoundaryIterator (const GV &gv_, bool end=false)
 construct a BoundaryIterator

Detailed Description

template<typename GV>
class Dune::VTK::BoundaryIterator< GV >

iterate over the GridViews boundary intersections

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


Member Typedef Documentation

template<typename GV >
typedef BoundaryIterator<GV> Dune::VTK::BoundaryIterator< GV >::DerivedType
template<typename GV >
typedef std::iterator_traits<ElementIterator>::difference_type Dune::VTK::BoundaryIterator< GV >::DifferenceType
template<typename GV >
typedef GV::template Codim<0>::Iterator Dune::VTK::BoundaryIterator< GV >::ElementIterator
template<typename GV >
typedef GV::IntersectionIterator Dune::VTK::BoundaryIterator< GV >::IntersectionIterator
template<typename GV >
typedef Value& Dune::VTK::BoundaryIterator< GV >::Reference
template<typename GV >
typedef const GV::Intersection Dune::VTK::BoundaryIterator< GV >::Value

Constructor & Destructor Documentation

template<typename GV >
Dune::VTK::BoundaryIterator< GV >::BoundaryIterator ( const GV &  gv_,
const ElementIterator eit_,
const IntersectionIterator iit_ 
) [inline]

construct a BoundaryIterator

The iterator will initially point to the intersection iit_. If that intersection is not valid, it will advance to the first valid one.

template<typename GV >
Dune::VTK::BoundaryIterator< GV >::BoundaryIterator ( const GV &  gv_,
const ElementIterator eit_ 
) [inline]

construct a BoundaryIterator

The iterator will initially point to eit_'s first intersection. If that intersection is not valid, it will advance to the first valid one.

template<typename GV >
Dune::VTK::BoundaryIterator< GV >::BoundaryIterator ( const GV &  gv_,
bool  end = false 
) [inline]

construct a BoundaryIterator

If end == true, construct an end iterator for the given gridview. Otherwise, construct a begin iterator.


Member Function Documentation

template<typename GV >
Reference Dune::VTK::BoundaryIterator< GV >::dereference (  )  const [inline]
template<typename GV >
bool Dune::VTK::BoundaryIterator< GV >::equals ( const DerivedType other  )  const [inline]
template<typename GV >
void Dune::VTK::BoundaryIterator< GV >::increment (  )  [inline]

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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].