A VTK function that supports both scalar and vector values for each vertex. This expects the data to be organized by a two-dimensional field storing for each element the element-local nodal values. This can be used for the output of fields that are non-conforming due to e.g. constitutive relationships and where no extra degrees of freedom exist to display the discontinuities.
More...
#include <dumux/io/vtk/function.hh>
template<typename GridView, typename Mapper, typename F>
struct Dumux::Vtk::VectorP1NonConformingVTKFunction< GridView, Mapper, F >
- Template Parameters
-
GridView | The Dune grid view type |
Mapper | The type used for mapping elements to indices in the field |
F | The field type (either vector of scalars or vectors) |
|
enum | { dim = GridView::dimension
} |
|
using | ctype = typename GridView::ctype |
|
using | Element = typename GridView::template Codim<0>::Entity |
|
|
int | ncomps () const final |
| return number of components
|
|
std::string | name () const final |
| get name
|
|
double | evaluate (int mycomp, const Element &e, const Dune::FieldVector< ctype, dim > &xi) const final |
| evaluate
|
|
Dumux::Vtk::Precision | precision () const final |
| get output precision for the field
|
|
| VectorP1NonConformingVTKFunction (const GridView &gridView, const Mapper &mapper, const F &field, const std::string &name, int nComps, Dumux::Vtk::Precision precision=Dumux::Vtk::Precision::float32) |
| Constructor.
|
|
◆ ctype
template<typename GridView , typename Mapper , typename F >
◆ Element
template<typename GridView , typename Mapper , typename F >
◆ anonymous enum
template<typename GridView , typename Mapper , typename F >
◆ VectorP1NonConformingVTKFunction()
template<typename GridView , typename Mapper , typename F >
Dumux::Vtk::VectorP1NonConformingVTKFunction< GridView, Mapper, F >::VectorP1NonConformingVTKFunction |
( |
const GridView & | gridView, |
|
|
const Mapper & | mapper, |
|
|
const F & | field, |
|
|
const std::string & | name, |
|
|
int | nComps, |
|
|
Dumux::Vtk::Precision | precision = Dumux::Vtk::Precision::float32 ) |
|
inline |
◆ evaluate()
template<typename GridView , typename Mapper , typename F >
◆ name()
template<typename GridView , typename Mapper , typename F >
◆ ncomps()
template<typename GridView , typename Mapper , typename F >
◆ precision()
template<typename GridView , typename Mapper , typename F >
The documentation for this struct was generated from the following file: