dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::VTK::BoundaryIterator< GV > Class Template Reference

iterate over the GridViews boundary intersections More...

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

Inheritance diagram for Dune::VTK::BoundaryIterator< GV >:
Inheritance graph

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 More...
 
 BoundaryIterator (const GV &gv_, const ElementIterator &eit_)
 construct a BoundaryIterator More...
 
 BoundaryIterator (const GV &gv_, bool end=false)
 construct a BoundaryIterator More...
 

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

◆ DerivedType

template<typename GV >
typedef BoundaryIterator<GV> Dune::VTK::BoundaryIterator< GV >::DerivedType

◆ DifferenceType

template<typename GV >
typedef std::iterator_traits<ElementIterator>::difference_type Dune::VTK::BoundaryIterator< GV >::DifferenceType

◆ ElementIterator

template<typename GV >
typedef GV::template Codim<0>::Iterator Dune::VTK::BoundaryIterator< GV >::ElementIterator

◆ IntersectionIterator

template<typename GV >
typedef GV::IntersectionIterator Dune::VTK::BoundaryIterator< GV >::IntersectionIterator

◆ Reference

template<typename GV >
typedef Value& Dune::VTK::BoundaryIterator< GV >::Reference

◆ Value

template<typename GV >
typedef const GV::Intersection Dune::VTK::BoundaryIterator< GV >::Value

Constructor & Destructor Documentation

◆ BoundaryIterator() [1/3]

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.

◆ BoundaryIterator() [2/3]

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.

◆ BoundaryIterator() [3/3]

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

◆ dereference()

template<typename GV >
Reference Dune::VTK::BoundaryIterator< GV >::dereference ( ) const
inline

◆ equals()

template<typename GV >
bool Dune::VTK::BoundaryIterator< GV >::equals ( const DerivedType other) const
inline

◆ increment()

template<typename GV >
void Dune::VTK::BoundaryIterator< GV >::increment ( )
inline

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