|
dune-grid 2.12-git
|
Iterate over the elements' corners. More...
#include <dune/grid/io/file/vtk/vtkwriter.hh>

Public Types | |
| typedef std::forward_iterator_tag | iterator_category |
| typedef typename std::remove_const< V >::type | value_type |
| typedef D | difference_type |
| typedef V * | pointer |
| typedef R | reference |
| typedef T | DerivedType |
| typedef V | Value |
| typedef V * | Pointer |
| typedef D | DifferenceType |
| typedef R | Reference |
Public Member Functions | |
| CornerIterator (const GridCellIterator &x, const GridCellIterator &end, const VTK::DataMode &dm, const VertexMapper &vm, const std::vector< int > &num) | |
| void | increment () |
| bool | equals (const CornerIterator &cit) const |
| EntityReference | dereference () const |
| int | id () const |
| Process-local consecutive zero-starting vertex id. | |
| constexpr Reference | operator* () const |
| constexpr Pointer | operator-> () const |
| constexpr DerivedType & | operator++ () |
| constexpr DerivedType | operator++ (int) |
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.
Constructor & Destructor Documentation
◆ CornerIterator()
|
inline |
Member Function Documentation
◆ dereference()
|
inline |
◆ equals()
|
inline |
◆ 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.
◆ increment()
|
inline |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8