dune-grid 2.9.0
Public Member Functions | List of all members
Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase Struct Referenceabstract

Base class for polymorphic container of underlying data set. More...

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

Inheritance diagram for Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase:
Inheritance graph

Public Member Functions

virtual void bind (const Entity &e)=0
 Bind data set to grid entity - must be called before evaluating (i.e. calling write()) More...
 
virtual void unbind ()=0
 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 =0
 Evaluate data set at local position pos inside the current entity and write result to w. More...
 
virtual ~FunctionWrapperBase ()
 

Detailed Description

template<class GridView>
struct Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase

Base class for polymorphic container of underlying data set.

Constructor & Destructor Documentation

◆ ~FunctionWrapperBase()

template<class GridView >
virtual Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase::~FunctionWrapperBase ( )
inlinevirtual

Member Function Documentation

◆ bind()

template<class GridView >
virtual void Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase::bind ( const Entity &  e)
pure virtual

◆ unbind()

template<class GridView >
virtual void Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase::unbind ( )
pure virtual

◆ write()

template<class GridView >
virtual void Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapperBase::write ( const Coordinate &  pos,
Writer w,
std::size_t  count 
) const
pure virtual

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.

Implemented in Dune::VTKWriter< GridView >::VTKLocalFunction::FunctionWrapper< F >, Dune::VTKWriter< GridView >::VTKLocalFunction::GlobalFunctionWrapper< F >, and Dune::VTKWriter< GridView >::VTKLocalFunction::VTKFunctionWrapper.


The documentation for this struct was generated from the following file: