|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
Dune::VtkTimeseriesWriter< VtkWriter > Class Template Reference
#include <dune/vtk/vtktimeserieswriter.hh>
Inheritance diagram for Dune::VtkTimeseriesWriter< VtkWriter >:

Public Member Functions | |
| void | writeTimestep (double time, std::string const &fn, std::optional< std::string > tmpDir={}, bool writeCollection=true) const |
| Write the attached data to the file. | |
| virtual std::string | write (std::string const &fn, std::optional< std::string > dir={}) const override |
| Writes all timesteps to single timeseries file. | |
| template<class Function , class... Args> | |
| TimeseriesWriter & | addPointData (Function const &fct, Args &&... args) |
| Attach point data to the writer,. | |
| template<class Function , class... Args> | |
| TimeseriesWriter & | addCellData (Function const &fct, Args &&... args) |
| Attach cell data to the writer,. | |
Protected Types | |
| using | Self = TimeseriesWriter |
| using | pos_type = typename std::ostream::pos_type |
| template<class W > | |
| using | HasWriteTimeseriesSerialFile = decltype(&W::writeTimeseriesSerialFile) |
| template<class W > | |
| using | HasWriteTimeseriesParallelFile = decltype(&W::writeTimeseriesParallelFile) |
Protected Attributes | |
| VtkWriter | vtkWriter_ |
| Vtk::Path | tmpDir_ |
| bool | initialized_ = false |
| std::vector< std::uint64_t > | blocks_ |
| std::string | filenameMesh_ |
| std::vector< std::pair< double, std::string > > | timesteps_ |
Member Typedef Documentation
◆ HasWriteTimeseriesParallelFile
template<class VtkWriter >
template<class W >
|
protectedinherited |
◆ HasWriteTimeseriesSerialFile
template<class VtkWriter >
template<class W >
|
protectedinherited |
◆ pos_type
template<class VtkWriter >
|
protectedinherited |
◆ Self
template<class VtkWriter >
|
protectedinherited |
Member Function Documentation
◆ addCellData()
template<class VtkWriter >
template<class Function , class... Args>
|
inlineinherited |
Attach cell data to the writer,.
- See also
- Vtk::GridFunction for possible arguments
◆ addPointData()
template<class VtkWriter >
template<class Function , class... Args>
|
inlineinherited |
Attach point data to the writer,.
- See also
- Vtk::GridFunction for possible arguments
◆ write()
template<class W >
|
overridevirtualinherited |
Writes all timesteps to single timeseries file.
Create a timeseries file with all timesteps written by writeTimestep.
- Parameters
-
fn Filename of the Timeseries file. May contain a directory and any file extension. dir The optional parameter specifies the directory of the partition files.
- Returns
- File name of the actual written file
Implements Dune::Vtk::FileWriter.
◆ writeTimestep()
template<class W >
|
inherited |
Write the attached data to the file.
Create intermediate files for the data associated to the current timestep time.
- Parameters
-
time The time value of the written data fn Filename of the file to write to. Only the base part (without dir and extentsion) is used to write the intermediate file into a tmp directory. tmpDir If the directory is given, it is used as tmp dir, otherwise /tmp. writeCollection Create a timeseries file directly
Member Data Documentation
◆ blocks_
template<class VtkWriter >
|
mutableprotectedinherited |
◆ filenameMesh_
template<class VtkWriter >
|
mutableprotectedinherited |
◆ initialized_
template<class VtkWriter >
|
mutableprotectedinherited |
◆ timesteps_
template<class VtkWriter >
|
mutableprotectedinherited |
◆ tmpDir_
template<class VtkWriter >
|
protectedinherited |
◆ vtkWriter_
template<class VtkWriter >
|
protectedinherited |
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