|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
timeserieswriter.hh
Go to the documentation of this file.
45 assert(vtkWriter_.format_ != Vtk::FormatTypes::ASCII && "Timeseries writer requires APPENDED mode");
80 virtual std::string write (std::string const& fn, std::optional<std::string> dir = {}) const override;
STL namespace.
Definition writer.hh:16
Definition filewriter.hh:9
Definition function.hh:18
File-Writer for Vtk timeseries .vtu files.
Definition timeserieswriter.hh:25
TimeseriesWriter & addPointData(Function const &fct, Args &&... args)
Attach point data to the writer,.
Definition timeserieswriter.hh:84
void writeTimestep(double time, std::string const &fn, std::optional< std::string > tmpDir={}, bool writeCollection=true) const
Write the attached data to the file.
Definition timeserieswriter.impl.hh:42
typename std::ostream::pos_type pos_type
Definition timeserieswriter.hh:28
TimeseriesWriter & addCellData(Function const &fct, Args &&... args)
Attach cell data to the writer,.
Definition timeserieswriter.hh:92
TimeseriesWriter(Args &&... args)
Constructor, stores the gridView.
Definition timeserieswriter.hh:42
virtual std::string write(std::string const &fn, std::optional< std::string > dir={}) const override
Writes all timesteps to single timeseries file.
Definition timeserieswriter.impl.hh:78
std::string filenameMesh_
Definition timeserieswriter.hh:107
decltype(&W::writeTimeseriesParallelFile) HasWriteTimeseriesParallelFile
Definition timeserieswriter.hh:35
~TimeseriesWriter()
Remove all written intermediate files and remove temporary directory.
Definition timeserieswriter.impl.hh:26
decltype(&W::writeTimeseriesSerialFile) HasWriteTimeseriesSerialFile
Definition timeserieswriter.hh:31
std::vector< std::uint64_t > blocks_
Definition timeserieswriter.hh:105
std::vector< std::pair< double, std::string > > timesteps_
Definition timeserieswriter.hh:108
Definition filesystem.hh:13
VtkWriterBase & addPointData(Function &&fct, const Vtk::FieldInfo &info)
Attach point data to the writer.
Definition vtkwriterbase.hh:118
VtkWriterBase & addCellData(Function &&fct, const Vtk::FieldInfo &info)
Attach cell data to the writer.
Definition vtkwriterbase.hh:157
T srand(T... args)
T time(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8