|
dune-grid 2.11
|
Loading...
Searching...
No Matches
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 | GlobalFunctionWrapper |
| Type erasure implementation for C++ functions, i.e., functions that can be evaluated in global coordinates. More... | |
| struct | VTKFunctionWrapper |
| Type erasure implementation for legacy VTKFunctions. More... | |
Public Types | |
| typedef VTK::DataArrayWriter | Writer |
Public Member Functions | |
| template<typename F , std::enable_if_t< Impl::IsBindable< F, Entity >::value, int > = 0> | |
| VTKLocalFunction (F &&f, VTK::FieldInfo fieldInfo) | |
| Construct a VTKLocalFunction for a dune-functions style LocalFunction. | |
| template<typename F , std::enable_if_t< not Impl::IsBindable< F, Entity >::value &&Impl::HasLocalFunction< F >::value, int > = 0> | |
| VTKLocalFunction (F &&f, VTK::FieldInfo fieldInfo) | |
| Construct a VTKLocalFunction for a dune-functions GridViewFunction. | |
| template<typename F , std::enable_if_t< not Impl::IsBindable< F, Entity >::value &¬ Impl::HasLocalFunction< F >::value, int > = 0> | |
| VTKLocalFunction (F &&f, VTK::FieldInfo fieldInfo) | |
| Construct a VTKLocalFunction for a C++ (global) function. | |
| VTKLocalFunction (const std::shared_ptr< const VTKFunction > &vtkFunctionPtr) | |
| Construct a VTKLocalFunction for a legacy VTKFunction. | |
| std::string | name () const |
| Returns the name of the data set. | |
| const VTK::FieldInfo & | fieldInfo () 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 &writer) const |
Write the value of the data set at local coordinate pos to the writer. | |
Public Attributes | |
| std::shared_ptr< FunctionWrapperBase > | _f |
| VTK::FieldInfo | _fieldInfo |
Detailed Description
template<class GridView>
class Dune::VTKWriter< GridView >::VTKLocalFunction
class Dune::VTKWriter< GridView >::VTKLocalFunction
Type erasure wrapper for VTK data sets.
This wrapper has value semantics
Member Typedef Documentation
◆ Writer
template<class GridView >
| typedef VTK::DataArrayWriter Dune::VTKWriter< GridView >::VTKLocalFunction::Writer |
Constructor & Destructor Documentation
◆ VTKLocalFunction() [1/4]
template<class GridView >
template<typename F , std::enable_if_t< Impl::IsBindable< F, Entity >::value, int > = 0>
|
inline |
Construct a VTKLocalFunction for a dune-functions style LocalFunction.
◆ VTKLocalFunction() [2/4]
template<class GridView >
template<typename F , std::enable_if_t< not Impl::IsBindable< F, Entity >::value &&Impl::HasLocalFunction< F >::value, int > = 0>
|
inline |
Construct a VTKLocalFunction for a dune-functions GridViewFunction.
◆ VTKLocalFunction() [3/4]
template<class GridView >
template<typename F , std::enable_if_t< not Impl::IsBindable< F, Entity >::value &¬ Impl::HasLocalFunction< F >::value, int > = 0>
|
inline |
Construct a VTKLocalFunction for a C++ (global) function.
◆ VTKLocalFunction() [4/4]
template<class GridView >
|
inlineexplicit |
Construct a VTKLocalFunction for a legacy VTKFunction.
Member Function Documentation
◆ bind()
template<class GridView >
|
inline |
Bind the data set to grid entity e.
◆ fieldInfo()
template<class GridView >
|
inline |
Returns the VTK::FieldInfo for the data set.
◆ name()
template<class GridView >
|
inline |
Returns the name of the data set.
◆ unbind()
template<class GridView >
|
inline |
Unbind the data set from the currently bound entity.
◆ write()
template<class GridView >
|
inline |
Write the value of the data set at local coordinate pos to the writer.
Member Data Documentation
◆ _f
template<class GridView >
| std::shared_ptr<FunctionWrapperBase> Dune::VTKWriter< GridView >::VTKLocalFunction::_f |
◆ _fieldInfo
template<class GridView >
| VTK::FieldInfo Dune::VTKWriter< GridView >::VTKLocalFunction::_fieldInfo |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8