4#ifndef DUNE_GRID_IO_FILE_VTK_CORNER_HH
5#define DUNE_GRID_IO_FILE_VTK_CORNER_HH
22 template<
typename Cell>
44 const Cell&
cell()
const {
return *cell_; }
50 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:224
simple class representing a corner of a cell
Definition corner.hh:23
unsigned vtkIndex() const
get the index of the corner within the cell in VTK-numbering
Definition corner.hh:61
void vtkIndex(unsigned i)
set the index of the corner within the cell in VTK-numbering
Definition corner.hh:66
Corner(const Cell &cell, unsigned duneIndex)
construct a Corner
Definition corner.hh:36
void cell(const Cell &cell__)
set a new cell
Definition corner.hh:50
void duneIndex(unsigned i)
set the index of the corner within the cell in Dune-numbering
Definition corner.hh:55
unsigned duneIndex() const
get the index of the corner within the cell in Dune-numbering
Definition corner.hh:53
const Cell & cell() const
get reference to the cell
Definition corner.hh:44
Corner()
construct an invalid Corner
Definition corner.hh:41