A Vtk::LocalFunction is a function-like object that can be bound to a grid element an that provides an evaluate method with a component argument.
More...
#include <dune/vtk/localfunction.hh>
|
| template<class LF , disableCopyMove< Self, LF > = 0, HasBind< LF, Entity > = true> |
| | LocalFunction (LF &&lf) |
| | Construct the Vtk::LocalFunction from any function object that has a bind(element) method.
|
| |
| | LocalFunction (std::shared_ptr< VTKFunction< GridView > const > const &lf) |
| | Construct a Vtk::LocalFunction from a legacy VTKFunction.
|
| |
| | LocalFunction ()=default |
| |
| void | bind (Entity const &entity) |
| | Bind the function to the grid entity.
|
| |
| void | unbind () |
| | Unbind from the currently bound entity.
|
| |
| RangeProxy | operator() (LocalCoordinate const &xi) const |
| | Return a proxy object to access the components of the range vector.
|
| |
| double | evaluate (int c, LocalCoordinate const &xi) const |
| | Evaluate the cth component of the Range value at local coordinate xi
|
| |
| void | setComponents (std::vector< int > components) |
| |
template<class GridView>
class Dune::Vtk::LocalFunction< GridView >
A Vtk::LocalFunction is a function-like object that can be bound to a grid element an that provides an evaluate method with a component argument.
Stores internally a Vtk::LocalFunctionInterface object for the concrete evaluation.
◆ LocalFunction() [1/3]
template<class GridView >
template<class LF , disableCopyMove<
Self, LF > = 0, HasBind< LF, Entity > = true>
Construct the Vtk::LocalFunction from any function object that has a bind(element) method.
◆ LocalFunction() [2/3]
template<class GridView >
◆ LocalFunction() [3/3]
template<class GridView >
◆ bind()
template<class GridView >
Bind the function to the grid entity.
◆ evaluate()
template<class GridView >
Evaluate the cth component of the Range value at local coordinate xi
◆ operator()()
template<class GridView >
Return a proxy object to access the components of the range vector.
◆ setComponents()
template<class GridView >
◆ unbind()
template<class GridView >
Unbind from the currently bound entity.
The documentation for this class was generated from the following file: