Dune Core Modules (2.5.0)

Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapper< F > Struct Template Reference

Type erasure implementation for functions conforming to the dune-functions LocalFunction interface. More...

#include <dune/grid/io/file/vtk/vtkwriter.hh>

Public Member Functions

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 &w, std::size_t count) const
 Evaluate data set at local position pos inside the current entity and write result to w. More...
 

Detailed Description

template<class GridView>
template<typename F>
struct Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapper< F >

Type erasure implementation for functions conforming to the dune-functions LocalFunction interface.

Member Function Documentation

◆ write()

template<class GridView >
template<typename F >
virtual void Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapper< F >::write ( const Coordinate &  pos,
Writer w,
std::size_t  count 
) const
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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)