Writer for the ouput of grid functions in the vtk format.Writes arbitrary grid functions (living on cells or vertices of a grid) to a file suitable for easy visualization with The Visualization Toolkit (VTK).
More...
#include <dune/grid/io/file/vtk/vtksequencewriter.hh>
|
| | SubsamplingVTKSequenceWriter (const GridView &gridView, unsigned int level_, const std::string &name, const std::string &path, const std::string &extendpath) |
| |
| const std::shared_ptr< VTKWriter< GridView > > & | vtkWriter () const |
| |
| void | addCellData (const std::shared_ptr< const typename VTKWriter< GridView >::VTKFunction > &p) |
| | Adds a field of cell data to the VTK file. More...
|
| |
| template<class V > |
| void | addCellData (const V &v, const std::string &name, int ncomps=1) |
| | Adds a field of cell data to the VTK file. More...
|
| |
| void | addVertexData (const std::shared_ptr< const typename VTKWriter< GridView >::VTKFunction > &p) |
| | Adds a field of vertex data to the VTK file. More...
|
| |
| template<class V > |
| void | addVertexData (const V &v, const std::string &name, int ncomps=1) |
| | Adds a field of vertex data to the VTK file. More...
|
| |
| void | write (double time, VTK::OutputType type=VTK::ascii) |
| | Writes VTK data for the given time,. More...
|
| |
template<class GridView>
class Dune::SubsamplingVTKSequenceWriter< GridView >
Writer for the ouput of grid functions in the vtk format.
Writes arbitrary grid functions (living on cells or vertices of a grid) to a file suitable for easy visualization with The Visualization Toolkit (VTK).
- Deprecated:
- Please use VTKSequenceWriter together with a SubsamplingVTKWriter instead!
◆ SubsamplingVTKSequenceWriter()
template<class GridView >
◆ addCellData() [1/2]
template<class GridView >
Adds a field of cell data to the VTK file.
◆ addCellData() [2/2]
template<class GridView >
template<class V >
Adds a field of cell data to the VTK file.
- Parameters
-
| v | The container with the values of the grid function for each cell |
| name | A name to identify the grid function |
| ncomps | Number of components (default is 1) |
◆ addVertexData() [1/2]
template<class GridView >
Adds a field of vertex data to the VTK file.
◆ addVertexData() [2/2]
template<class GridView >
template<class V >
Adds a field of vertex data to the VTK file.
- Parameters
-
| v | The container with the values of the grid function for each vertex |
| name | A name to identify the grid function |
| ncomps | Number of components (default is 1) |
◆ vtkWriter()
template<class GridView >
accessor for the underlying VTKWriter instance
◆ write()
template<class GridView >
Writes VTK data for the given time,.
- Parameters
-
| time | The time(step) for the data to be written. |
| type | VTK output type. |
The documentation for this class was generated from the following file: