Dune Core Modules (2.4.1)

Dune::VTKWriter< GridView >::VTKLocalFunction Class Reference

Type erasure wrapper for VTK data sets. More...

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

Classes

struct  FunctionWrapper
 Type erasure implementation for functions conforming to the dune-functions LocalFunction interface. More...
 
struct  FunctionWrapperBase
 Base class for polymorphic container of underlying data set. More...
 
struct  VTKFunctionWrapper
 Type erasure implementation for legacy VTKFunctions. More...
 

Public Member Functions

template<typename F >
 VTKLocalFunction (F &&f, VTK::FieldInfo fieldInfo, typename std::enable_if< detail::_has_local_context< F >::value, int >::type dummy=0)
 Construct a VTKLocalFunction for a dune-functions style LocalFunction.
 
template<typename F >
 VTKLocalFunction (F &&f, VTK::FieldInfo fieldInfo, typename std::enable_if< not detail::_has_local_context< F >::value, int >::type dummy=0)
 Construct a VTKLocalFunction for a dune-functions style Function.
 
 VTKLocalFunction (const VTKFunctionPtr &vtkFunctionPtr)
 Construct a VTKLocalFunction for a legacy VTKFunction.
 
std::string name () const
 Returns the name of the data set.
 
const VTK::FieldInfofieldInfo () const
 Returns the VTK::FieldInfo for the data set.
 
void bind (const Entity &e) const
 Bind the data set to grid entity e.
 
void unbind () const
 Unbind the data set from the currently bound entity.
 
void write (const Coordinate &pos, Writer &w) const
 Write the value of the data set at local coordinate pos to the writer w.
 

Detailed Description

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

Type erasure wrapper for VTK data sets.

This wrapper has value semantics


The documentation for this class 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)