6#ifndef DUNE_GRID_IO_FILE_VTK_CORNER_HH
7#define DUNE_GRID_IO_FILE_VTK_CORNER_HH
24 template<
typename Cell>
46 const Cell&
cell()
const {
return *cell_; }
52 void cell(
const Cell& cell__) { cell_ = &cell__; index = 0; }
Common stuff for the VTKWriter.
Include standard header files.
Definition: agrid.hh:60
int renumber(const Dune::GeometryType &t, int i)
renumber VTK <-> Dune
Definition: common.hh:186
simple class representing a corner of a cell
Definition: corner.hh:25
unsigned vtkIndex() const
get the index of the corner within the cell in VTK-numbering
Definition: corner.hh:63
void vtkIndex(unsigned i)
set the index of the corner within the cell in VTK-numbering
Definition: corner.hh:68
Corner(const Cell &cell, unsigned duneIndex)
construct a Corner
Definition: corner.hh:38
void cell(const Cell &cell__)
set a new cell
Definition: corner.hh:52
void duneIndex(unsigned i)
set the index of the corner within the cell in Dune-numbering
Definition: corner.hh:57
unsigned duneIndex() const
get the index of the corner within the cell in Dune-numbering
Definition: corner.hh:55
const Cell & cell() const
get reference to the cell
Definition: corner.hh:46
Corner()
construct an invalid Corner
Definition: corner.hh:43