Dune::VTKWriter< GridImp, IS >::VTKFunction Class Reference
[Visualization ToolKit (VTK)]
#include <vtkwriter.hh>
Detailed Description
template<class GridImp, class IS = typename GridImp::template Codim<0>::LeafIndexSet>
class Dune::VTKWriter< GridImp, IS >::VTKFunction
A base class for grid functions with any return type and dimension.
Trick : use double as return type
Public Member Functions | |
virtual int | ncomps () const=0 |
return number of components | |
virtual double | evaluate (int comp, const Entity &e, const Dune::FieldVector< DT, n > &xi) const =0 |
evaluate single component comp in the entity e at local coordinates xi | |
virtual std::string | name () const=0 |
get name | |
virtual | ~VTKFunction () |
virtual destructor |
Member Function Documentation
template<class GridImp, class IS = typename GridImp::template Codim<0>::LeafIndexSet>
virtual double Dune::VTKWriter< GridImp, IS >::VTKFunction::evaluate | ( | int | comp, | |
const Entity & | e, | |||
const Dune::FieldVector< DT, n > & | xi | |||
) | const [pure virtual] |
evaluate single component comp in the entity e at local coordinates xi
Evaluate the function in an entity at local coordinates.
- Parameters:
-
[in] comp number of component to be evaluated [in] e reference to grid entity of codimension 0 [in] xi point in local coordinates of the reference element of e
- Returns:
- value of the component
The documentation for this class was generated from the following file: