Dune Core Modules (2.3.1)

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

iterate over the GridViews boundary intersections More...

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

Public Types

typedef const GV::Intersection * Pointer
 The pointer to the Value.
 

Public Member Functions

 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...
 
Reference operator* () const
 Dereferencing operator.
 
DerivedTypeoperator++ ()
 Preincrement operator.
 
DerivedType operator++ (int)
 Postincrement operator.
 

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.

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.

References Dune::shared_ptr< T >::reset().

◆ 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.

References Dune::shared_ptr< T >::reset().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)