dune-grid 2.9.0
|
Type erasure implementation for legacy VTKFunctions. More...
#include <dune/grid/io/file/vtk/vtkwriter.hh>
Public Member Functions | |
VTKFunctionWrapper (const std::shared_ptr< const VTKFunction > &f) | |
virtual void | bind (const Entity &e) |
Bind data set to grid entity - must be called before evaluating (i.e. calling write()) More... | |
virtual void | unbind () |
Unbind data set from current grid entity - mostly here for performance and symmetry reasons. More... | |
virtual void | write (const Coordinate &pos, Writer &w, std::size_t count) const |
Evaluate data set at local position pos inside the current entity and write result to w. More... | |
Type erasure implementation for legacy VTKFunctions.
|
inline |
|
inlinevirtual |
Bind data set to grid entity - must be called before evaluating (i.e. calling write())
Implements Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase.
|
inlinevirtual |
Unbind data set from current grid entity - mostly here for performance and symmetry reasons.
Implements Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase.
|
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.