Go to the documentation of this file.
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; }
75 #endif // DUNE_GRID_IO_FILE_VTK_CORNER_HH
Corner()
construct an invalid Corner
Definition: corner.hh:41
Corner(const Cell &cell, unsigned duneIndex)
construct a Corner
Definition: corner.hh:36
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
unsigned vtkIndex() const
get the index of the corner within the cell in VTK-numbering
Definition: corner.hh:61
Common stuff for the VTKWriter.
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:232
simple class representing a corner of a cell
Definition: corner.hh:23
Include standard header files.
Definition: agrid.hh:58
const Cell & cell() const
get reference to the cell
Definition: corner.hh:44
void cell(const Cell &cell__)
set a new cell
Definition: corner.hh:50