Base class to write pvd-files which contains a list of all collected vtk-files. This is a modified version of DUNE's pvd writer which takes a VTKWriter as template argument making it more general.
More...
#include <dumux/io/vtksequencewriter.hh>
template<class VTKWriter>
class Dumux::VTKSequenceWriter< VTKWriter >
Derive from this class to write pvd-file suitable for easy visualization with The Visualization Toolkit (VTK).
- Template Parameters
-
VTKWriter | The VTKWriter class |
◆ VTKSequenceWriter()
template<class VTKWriter >
Dumux::VTKSequenceWriter< VTKWriter >::VTKSequenceWriter |
( |
std::shared_ptr< VTKWriter > |
vtkWriter, |
|
|
const std::string & |
name, |
|
|
const std::string & |
path, |
|
|
const std::string & |
extendpath, |
|
|
int |
rank, |
|
|
int |
size |
|
) |
| |
|
inlineexplicit |
- Parameters
-
vtkWriter | Writer object used to write the individual time step data files |
name | Base name of the output files. This should not contain any directory part and not filename extensions. It will be used both for each processes piece as well as the parallel collection file. |
path | Directory where to put the parallel collection (.pvtu/.pvtp) file. If it is relative, it is taken relative to the current directory |
extendpath | Directory where to put the piece file (.vtu/.vtp) of this process. If it is relative, it is taken relative to the directory denoted by path |
rank | Process number in a multi-process setting |
size | Total number of processes |
◆ ~VTKSequenceWriter()
template<class VTKWriter >
◆ write()
template<class VTKWriter >
- 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: