4 #ifndef DUNE_GRID_IO_FILE_VTK_CORNER_HH 5 #define DUNE_GRID_IO_FILE_VTK_CORNER_HH 22 template<
typename Cell>
37 : cell_(&cell), index(duneIndex)
44 const Cell&
cell()
const {
return *cell_; }
50 void cell(
const Cell& cell__) { cell_ = &cell__; index = 0; }
75 #endif // DUNE_GRID_IO_FILE_VTK_CORNER_HH Corner()
construct an invalid Corner
Definition: corner.hh:41
simple class representing a corner of a cell
Definition: corner.hh:23
void cell(const Cell &cell__)
set a new cell
Definition: corner.hh:50
unsigned duneIndex() const
get the index of the corner within the cell in Dune-numbering
Definition: corner.hh:53
unsigned vtkIndex() const
get the index of the corner within the cell in VTK-numbering
Definition: corner.hh:61
const Cell & cell() const
get reference to the cell
Definition: corner.hh:44
void vtkIndex(unsigned i)
set the index of the corner within the cell in VTK-numbering
Definition: corner.hh:66
int renumber(const Dune::GeometryType &t, int i)
renumber VTK <-> Dune
Definition: common.hh:224
void duneIndex(unsigned i)
set the index of the corner within the cell in Dune-numbering
Definition: corner.hh:55
Corner(const Cell &cell, unsigned duneIndex)
construct a Corner
Definition: corner.hh:36
Include standard header files.
Definition: agrid.hh:59
Common stuff for the VTKWriter.