struct that can hold any field that fulfills the VTKFunction interface
More...
#include <dumux/io/vtk/function.hh>
template<class GridView>
class Dumux::Vtk::Field< GridView >
- Template Parameters
-
GridView | The Dune grid view type |
|
template<typename F , class Mapper > |
| Field (const GridView &gridView, const Mapper &mapper, F const &f, const std::string &name, int numComp=1, int codim=0, Dune::VTK::DataMode dm=Dune::VTK::conforming, Dumux::Vtk::Precision precision=Dumux::Vtk::Precision::float32) |
|
std::string | name () const |
| return the name of this field More...
|
|
int | ncomps () const |
| return the number of components of this field More...
|
|
Dumux::Vtk::Precision | precision () const |
| return the precision of this field More...
|
|
int | codim () const |
| codimension of the entities on which the field values live More...
|
|
double | evaluate (int mycomp, const Element &element, const Dune::FieldVector< ctype, dim > &xi) const |
| element-local evaluation of the field More...
|
|
std::shared_ptr< const Dune::VTKFunction< GridView > > | get () const |
| returns the underlying vtk function More...
|
|
◆ Field()
template<class GridView >
template<typename F , class Mapper >
Dumux::Vtk::Field< GridView >::Field |
( |
const GridView & |
gridView, |
|
|
const Mapper & |
mapper, |
|
|
F const & |
f, |
|
|
const std::string & |
name, |
|
|
int |
numComp = 1 , |
|
|
int |
codim = 0 , |
|
|
Dune::VTK::DataMode |
dm = Dune::VTK::conforming , |
|
|
Dumux::Vtk::Precision |
precision = Dumux::Vtk::Precision::float32 |
|
) |
| |
|
inline |
◆ codim()
template<class GridView >
◆ evaluate()
template<class GridView >
double Dumux::Vtk::Field< GridView >::evaluate |
( |
int |
mycomp, |
|
|
const Element & |
element, |
|
|
const Dune::FieldVector< ctype, dim > & |
xi |
|
) |
| const |
|
inline |
◆ get()
template<class GridView >
std::shared_ptr< const Dune::VTKFunction< GridView > > Dumux::Vtk::Field< GridView >::get |
( |
| ) |
const |
|
inline |
◆ name()
template<class GridView >
◆ ncomps()
template<class GridView >
◆ precision()
template<class GridView >
The documentation for this class was generated from the following file: