|
dune-grid 2.11
|
Base class to write pvd-files which contains a list of all collected vtk-files. More...
#include <dune/grid/io/file/vtk/vtksequencewriterbase.hh>

Public Member Functions | |
| VTKSequenceWriterBase (std::shared_ptr< VTKWriter< GridView > > vtkWriter, const std::string &name, const std::string &path, const std::string &extendpath, int rank, int size) | |
| Set up the VTKSequenceWriterBase class. | |
| 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. | |
| 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. | |
| void | addVertexData (const std::shared_ptr< const typename VTKWriter< GridView >::VTKFunction > &p) |
| Adds a field of vertex data to the VTK file. | |
| 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. | |
| void | write (double time, VTK::OutputType type=VTK::ascii) |
| Writes VTK data for the given time,. | |
| void | clear () |
| Clears all VTK data added to the VTK writer. | |
| const std::vector< double > & | getTimeSteps () const |
| Retrieve the current list of time steps. | |
| void | setTimeSteps (const std::vector< double > ×teps) |
| Set the current list of time steps. | |
Base class to write pvd-files which contains a list of all collected vtk-files.
Derive from this class to write pvd-file suitable for easy visualization with The Visualization Toolkit (VTK).
| GridView | Grid view of the grid we are writing |
|
inlineexplicit |
Set up the VTKSequenceWriterBase class.
| vtkWriter | Writer object used to write the individual time step data files |
| rank | Process number in a multi-process setting |
| size | Total number of processes |
|
inline |
Adds a field of cell data to the VTK file.
|
inline |
Adds a field of cell data to the VTK file.
| 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) |
|
inline |
Adds a field of vertex data to the VTK file.
|
inline |
Adds a field of vertex data to the VTK file.
| 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) |
|
inline |
|
inline |
Retrieve the current list of time steps.
|
inline |
Set the current list of time steps.
|
inline |
accessor for the underlying VTKWriter instance
|
inline |