wrap a GridFunction so it can be used with the VTKWriter from dune-grid.
More...
#include <dune/pdelab/common/vtkexport.hh>
template<typename T>
class Dune::PDELab::VTKGridFunctionAdapter< T >
wrap a GridFunction so it can be used with the VTKWriter from dune-grid.
construct a VTKGridFunctionAdapter
- Parameters
-
t_ | GridFunction object to wrap. A reference to the grid function object is stored internally and the constructed object becomes invalid as soon as that reference becomes invalid. |
s_ | Name of the field as returned by name(). |
remap_ | How components are remapped between PDELab and VTK. The default value yields the identity map with entries (0,1,...,T::Traits::dimRange-1). |
The resulting VTKFunction will have remap_.size()
components. None of the elements of remap_
should be greater or equal to T::Traits::dimRange
. When component c
is requested by the VTKWriter, it will be mapped to the component remap_
[c] of the GridFunction.
construct a VTKGridFunctionAdapter
- Parameters
-
t_ | Shared pointer to a GridFunction object to wrap. |
s_ | Name of the field as returned by name(). |
remap_ | How components are remapped between PDELab and VTK. The default value yields the identity map with entries (0,1,...,T::Traits::dimRange-1). |
The resulting VTKFunction will have remap_.size()
components. None of the elements of remap_
should be greater or equal to T::Traits::dimRange
. When component c
is requested by the VTKWriter, it will be mapped to the component remap_
[c] of the GridFunction.
The documentation for this class was generated from the following file: