DUNE-FEM (unstable)
Iterate over the elements' corners. More...
#include <dune/grid/io/file/vtk/vtkwriter.hh>
Public Types | |
typedef CornerIterator | DerivedType |
The type of derived iterator. More... | |
typedef const Entity | Value |
The type of value accessed through the iterator. | |
typedef const Entity * | Pointer |
The pointer to the Value. | |
typedef int | DifferenceType |
The type of the difference between two positions. | |
typedef EntityReference | Reference |
The type of the reference to the values accessed. | |
Public Member Functions | |
int | id () const |
Process-local consecutive zero-starting vertex id. More... | |
Reference | operator* () const |
Dereferencing operator. | |
DerivedType & | operator++ () |
Preincrement operator. | |
DerivedType | operator++ (int) |
Postincrement operator. | |
Detailed Description
class Dune::VTKWriter< GridView >::CornerIterator
Iterate over the elements' corners.
This class iterates over the elements, and within the elements over the corners. Each vertex in the grid can be a corner in multiple elements, and is visited once for each element it is associated with. This class differs from VertexIterator in that it visits the corners of a given element in VTK-ordering, and that it always visits a given vertex once for each element where that vertex is a corner in, independent of the data mode dm.
Dereferencing the iterator yields the current entity. Another useful method on the iterator itself is id(), which returns the number of the current corners associated vertex, in the numbering given by the iteration order of VertexIterator.
Member Typedef Documentation
◆ DerivedType
|
inherited |
The type of derived iterator.
The iterator has to define following functions have to be present:
For an elaborate explanation see the STL Documentation!
Member Function Documentation
◆ id()
|
inline |
Process-local consecutive zero-starting vertex id.
This method returns the number of this corners associated vertex, in the numbering given by the iteration order of VertexIterator.
References DUNE_THROW, and Dune::MultipleCodimMultipleGeomTypeMapper< GV >::subIndex().
The documentation for this class was generated from the following file:
- dune/grid/io/file/vtk/vtkwriter.hh