Dune Core Modules (2.4.1)
Dune::VTKFunction< GridView > Class Template Referenceabstract
A base class for grid functions with any return type and dimension. More...
#include <dune/grid/io/file/vtk/function.hh>
Public Member Functions | |
virtual int | ncomps () const =0 |
virtual double | evaluate (int comp, const Entity &e, const Dune::FieldVector< ctype, dim > &xi) const =0 |
evaluate single component comp in the entity e at local coordinates xi More... | |
virtual std::string | name () const =0 |
get name | |
virtual | ~VTKFunction () |
virtual destructor | |
Detailed Description
template<class GridView>
class Dune::VTKFunction< GridView >
class Dune::VTKFunction< GridView >
A base class for grid functions with any return type and dimension.
Trick : use double as return type
Member Function Documentation
◆ evaluate()
template<class GridView >
|
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
Implemented in Dune::P1VTKFunction< GV, V >, and Dune::P0VTKFunction< GV, V >.
◆ ncomps()
template<class GridView >
|
pure virtual |
return number of components (1 for scalar valued functions, 3 for vector valued function in 3D etc.)
Implemented in Dune::P0VTKFunction< GV, V >, and Dune::P1VTKFunction< GV, V >.
The documentation for this class was generated from the following file:
- dune/grid/io/file/vtk/function.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)