|
dune-grid 2.12-git
|
Type erasure implementation for functions conforming to the dune-functions LocalFunction interface. More...
#include <dune/grid/io/file/vtk/vtkwriter.hh>

Public Types | |
| using | Function = typename std::decay< F >::type |
Public Member Functions | |
| template<typename F_ > | |
| FunctionWrapper (F_ &&f) | |
| virtual void | bind (const Entity &e) |
| Bind data set to grid entity - must be called before evaluating (i.e. calling write()) | |
| virtual void | unbind () |
| Unbind data set from current grid entity - mostly here for performance and symmetry reasons. | |
| virtual void | write (const Coordinate &pos, Writer &writer, std::size_t count) const |
| Evaluate data set at local position pos inside the current entity and write result to w. | |
Detailed Description
template<typename F>
struct Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapper< F >
Type erasure implementation for functions conforming to the dune-functions LocalFunction interface.
Member Typedef Documentation
◆ Function
| using Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapper< F >::Function = typename std::decay<F>::type |
Constructor & Destructor Documentation
◆ FunctionWrapper()
|
inline |
Member Function Documentation
◆ bind()
|
inlinevirtual |
Bind data set to grid entity - must be called before evaluating (i.e. calling write())
Implements Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase.
◆ unbind()
|
inlinevirtual |
Unbind data set from current grid entity - mostly here for performance and symmetry reasons.
Implements Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase.
◆ write()
|
inlinevirtual |
Evaluate data set at local position pos inside the current entity and write result to w.
The function must write count scalar values as determined by the VTK::FieldInfo.
Implements Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase.
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8