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
|
|
int | ncomps () const |
| return the number of components of this field
|
|
Dumux::Vtk::Precision | precision () const |
| return the precision of this field
|
|
int | codim () const |
| codimension of the entities on which the field values live
|
|
double | evaluate (int mycomp, const Element &element, const Dune::FieldVector< ctype, dim > &xi) const |
| element-local evaluation of the field
|
|
std::shared_ptr< const Dune::VTKFunction< GridView > > | get () const |
| returns the underlying vtk function
|
|
◆ 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: