|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
timeserieswriter.hh
Go to the documentation of this file.
47 assert(vtkWriter_.format_ != Vtk::FormatTypes::ASCII && "Timeseries writer requires APPENDED mode");
82 virtual std::string write (std::string const& fn, std::optional<std::string> dir = {}) const override;
STL namespace.
Definition datacollector.hh:19
Implementation of DataCollector for cells, with continuous data.
Definition celltypedatacollector.hh:20
Definition filewriter.hh:11
Definition function.hh:20
File-Writer for Vtk timeseries .vtu files.
Definition timeserieswriter.hh:27
TimeseriesWriter & addPointData(Function const &fct, Args &&... args)
Attach point data to the writer,.
Definition timeserieswriter.hh:86
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:44
typename std::ostream::pos_type pos_type
Definition timeserieswriter.hh:30
TimeseriesWriter & addCellData(Function const &fct, Args &&... args)
Attach cell data to the writer,.
Definition timeserieswriter.hh:94
TimeseriesWriter(Args &&... args)
Constructor, stores the gridView.
Definition timeserieswriter.hh:44
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:80
std::string filenameMesh_
Definition timeserieswriter.hh:109
decltype(&W::writeTimeseriesParallelFile) HasWriteTimeseriesParallelFile
Definition timeserieswriter.hh:37
~TimeseriesWriter()
Remove all written intermediate files and remove temporary directory.
Definition timeserieswriter.impl.hh:28
decltype(&W::writeTimeseriesSerialFile) HasWriteTimeseriesSerialFile
Definition timeserieswriter.hh:33
std::vector< std::uint64_t > blocks_
Definition timeserieswriter.hh:107
std::vector< std::pair< double, std::string > > timesteps_
Definition timeserieswriter.hh:110
Definition filesystem.hh:15
VtkWriterBase & addPointData(Function &&fct, const Vtk::FieldInfo &info)
Attach point data to the writer.
Definition vtkwriterbase.hh:120
VtkWriterBase & addCellData(Function &&fct, const Vtk::FieldInfo &info)
Attach cell data to the writer.
Definition vtkwriterbase.hh:159
T srand(T... args)
T time(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8