dune-grid
2.3.1-rc1
|
Iterate over the elements' corners. More...
#include <dune/grid/io/file/vtk/vtkwriter.hh>
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 |
const Entity & | dereference () const |
int | id () const |
Process-local consecutive zero-starting vertex id. More... | |
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.
|
inline |
|
inline |
|
inline |
|
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::VTK::conforming, Dune::MultipleCodimMultipleGeomTypeMapper< GV, Layout >::map(), Dune::VTK::nonconforming, and Dune::VTK::renumber().
|
inline |