DUNE PDELab (git)
Dune::VTK::Corner< Cell > Class Template Reference
simple class representing a corner of a cell More...
#include <dune/grid/io/file/vtk/corner.hh>
Public Member Functions | |
Corner (const Cell &cell, unsigned duneIndex) | |
construct a Corner More... | |
Corner () | |
construct an invalid Corner | |
const Cell & | cell () const |
get reference to the cell | |
void | cell (const Cell &cell__) |
set a new cell More... | |
unsigned | duneIndex () const |
get the index of the corner within the cell in Dune-numbering | |
void | duneIndex (unsigned i) |
set the index of the corner within the cell in Dune-numbering | |
unsigned | vtkIndex () const |
get the index of the corner within the cell in VTK-numbering More... | |
void | vtkIndex (unsigned i) |
set the index of the corner within the cell in VTK-numbering More... | |
Detailed Description
template<typename Cell>
class Dune::VTK::Corner< Cell >
class Dune::VTK::Corner< Cell >
simple class representing a corner of a cell
- Template Parameters
-
Cell Type of element this is a corner for. This can essentially be anything with a type() method, in particular an Entity or an Intersection.
Constructor & Destructor Documentation
◆ Corner()
template<typename Cell >
|
inline |
construct a Corner
- Parameters
-
cell Reference to the cell duneIndex Index of the corner within the element in Dune-numbering
Member Function Documentation
◆ cell()
template<typename Cell >
|
inline |
set a new cell
This also resets the index of the element to 0 (Dune-numbering), so if you want to set both element and index, set the cell first.
◆ vtkIndex() [1/2]
template<typename Cell >
|
inline |
get the index of the corner within the cell in VTK-numbering
This requires that the cell is valid
References Dune::VTK::renumber().
Referenced by Dune::VTK::CornerIterator< CellIterator >::CornerIterator().
◆ vtkIndex() [2/2]
template<typename Cell >
|
inline |
set the index of the corner within the cell in VTK-numbering
This requires that the cell is valid
References Dune::VTK::renumber().
The documentation for this class was generated from the following file:
- dune/grid/io/file/vtk/corner.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 23, 23:29, 2024)