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. More...
|
|
| LocalFunction (std::shared_ptr< VTKFunction< GridView > const > const &lf) |
| Construct a Vtk::LocalFunction from a legacy VTKFunction. More...
|
|
| LocalFunction ()=default |
|
void | bind (Entity const &entity) |
| Bind the function to the grid entity. More...
|
|
void | unbind () |
| Unbind from the currently bound entity. More...
|
|
RangeProxy | operator() (LocalCoordinate const &xi) const |
| Return a proxy object to access the components of the range vector. More...
|
|
double | evaluate (int c, LocalCoordinate const &xi) const |
| Evaluate the c th component of the Range value at local coordinate xi More...
|
|
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 c
th 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: