|
Peano
|
Writes time series in vtk/vtu format. More...
#include <PVDTimeSeriesWriter.h>
Public Types | |
| enum class | IndexFileMode { CreateNew , AppendNewData , NoIndexFile } |
Static Public Member Functions | |
| static void | createEmptyIndexFile (const std::string &dataFile) |
| static void | appendNewData (const std::string &snapshotFileName, const std::string &dataFile, double timeStamp) |
| static double | getLatestTimeStepInIndexFile (std::string dataFile) |
Static Private Member Functions | |
| static std::tuple< double, int, std::vector< std::string > > | parseFile (const std::string &filename, bool createBackup=true) |
| static void | writeFile (const std::string &filename, const std::vector< std::string > &lines) |
| static void | addFileTail (std::vector< std::string > &lines) |
| static void | removeFileTail (std::vector< std::string > &lines) |
| static std::string | createFileEntry (const std::string &snapshotFileName, double timestamp, int partCounter) |
Writes time series in vtk/vtu format.
According to the VTK spec, time series are solely written serially, i.e. you may use this class on any rank, but it only writes out data on Peano's global master.
Please note that this file format does not work with VTK files. It only works with the XML variants of the writer.
Definition at line 25 of file PVDTimeSeriesWriter.h.
|
strong |
Definition at line 44 of file PVDTimeSeriesWriter.h.
|
staticprivate |
|
static |
|
static |
| dataFile | First file entry to insert. Pass an empty string if you don't want Peano to add a file into the original index file. |
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
| lines | content without the tail of the format, i.e. the closing brackets |