a VTK function that supports both scalar and vector values for each vertex More...
#include <dumux/io/vtk/function.hh>
a VTK function that supports both scalar and vector values for each vertex
GridView | The Dune grid view type |
Mapper | The type used for mapping vertices to indices in the field |
F | The field type (either vector of scalars or vectors) |
Public Types | |
enum | { dim = GridView::dimension } |
using | ctype = typename GridView::ctype |
using | Element = typename GridView::template Codim< 0 >::Entity |
Public Member Functions | |
int | ncomps () const final |
return number of components More... | |
std::string | name () const final |
get name More... | |
double | evaluate (int mycomp, const Element &e, const Dune::FieldVector< ctype, dim > &xi) const final |
evaluate More... | |
Dumux::Vtk::Precision | precision () const final |
get output precision for the field More... | |
VectorP1VTKFunction (const GridView &gridView, const Mapper &mapper, const F &field, const std::string &name, int nComps, Dumux::Vtk::Precision precision=Dumux::Vtk::Precision::float32) | |
Constructor. More... | |
using Dumux::Vtk::VectorP1VTKFunction< GridView, Mapper, F >::ctype = typename GridView::ctype |
using Dumux::Vtk::VectorP1VTKFunction< GridView, Mapper, F >::Element = typename GridView::template Codim<0>::Entity |
|
inline |
Constructor.
|
inlinefinal |
evaluate
|
inlinefinal |
get name
|
inlinefinal |
return number of components
|
inlinefinal |
get output precision for the field