![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <pvd_handler.h>
Public Member Functions | |
| void | save (const std::string &filename) const |
| void | read (const std::string &filename) |
| void | append (double time, const std::string &pvtu_filename) |
Public Attributes | |
| std::vector< std::pair< double, std::string > > | times_and_names |
The PVDHandler class manages the storage of the information required to write pvd file. It is particularly necessary for simulations which must be restarted from checkpoint since it manages the continuity of the pvd output.
Definition at line 16 of file pvd_handler.h.
|
inline |
Definition at line 36 of file pvd_handler.h.
References times_and_names.
| void PVDHandler::read | ( | const std::string & | filename | ) |
read Reads the content of a pvd times_and_names checpoint
| filename | Name of the file frin which the PVDHandler content is read |
Definition at line 25 of file pvd_handler.cc.
References append(), check_file_exists(), and times_and_names.
| void PVDHandler::save | ( | const std::string & | filename | ) | const |
save Saves the content of the pvd times_and_names to a file
| filename | Name of the file to which the PVDHandler content is save |
Definition at line 12 of file pvd_handler.cc.
References times_and_names.
| std::vector<std::pair<double, std::string> > PVDHandler::times_and_names |
Definition at line 43 of file pvd_handler.h.