Load or save a state of a model to/from the harddisk.
#include <dumux/io/restart.hh>
|
| const std::string & | fileName () const |
| | Returns the name of the file which is (de-)serialized.
|
| |
| template<class Problem> |
| void | serializeBegin (Problem &problem) |
| | Write the current state of the model to disk.
|
| |
| std::ostream & | serializeStream () |
| | The output stream to write the serialized data.
|
| |
| void | serializeSectionBegin (const std::string &cookie) |
| | Start a new section in the serialized output.
|
| |
| void | serializeSectionEnd () |
| | End of a section in the serialized output.
|
| |
| template<int codim, class Serializer, class GridView> |
| void | serializeEntities (Serializer &serializer, const GridView &gridView) |
| | Serialize all leaf entities of a codim in a gridView.
|
| |
| void | serializeEnd () |
| | Finish the restart file.
|
| |
| template<class Problem> |
| void | deserializeBegin (Problem &problem, double t) |
| | Start reading a restart file at a certain simulated time.
|
| |
| std::istream & | deserializeStream () |
| | The input stream to read the data which ought to be deserialized.
|
| |
| void | deserializeSectionBegin (const std::string &cookie) |
| | Start reading a new section of the restart file.
|
| |
| void | deserializeSectionEnd () |
| | End of a section in the serialized output.
|
| |
| template<int codim, class Deserializer, class GridView> |
| void | deserializeEntities (Deserializer &deserializer, const GridView &gridView) |
| | Deserialize all leaf entities of a codim in a grid.
|
| |
| void | deserializeEnd () |
| | Stop reading the restart file.
|
| |
|
| static void | restartFileList (std::list< std::string > &fileList, const std::string directory=".") |
| | Returns the list of restart files in the current directory.
|
| |
◆ deserializeBegin()
template<class Problem>
| void Dumux::Restart::deserializeBegin |
( |
Problem & | problem, |
|
|
double | t ) |
|
inline |
◆ deserializeEnd()
| void Dumux::Restart::deserializeEnd |
( |
| ) |
|
|
inline |
◆ deserializeEntities()
template<int codim, class Deserializer, class GridView>
| void Dumux::Restart::deserializeEntities |
( |
Deserializer & | deserializer, |
|
|
const GridView & | gridView ) |
|
inline |
The actual work is done by Deserializer::deserialize(Entity)
◆ deserializeSectionBegin()
| void Dumux::Restart::deserializeSectionBegin |
( |
const std::string & | cookie | ) |
|
|
inline |
◆ deserializeSectionEnd()
| void Dumux::Restart::deserializeSectionEnd |
( |
| ) |
|
|
inline |
◆ deserializeStream()
| std::istream & Dumux::Restart::deserializeStream |
( |
| ) |
|
|
inline |
◆ fileName()
| const std::string & Dumux::Restart::fileName |
( |
| ) |
const |
|
inline |
◆ restartFileList()
| static void Dumux::Restart::restartFileList |
( |
std::list< std::string > & | fileList, |
|
|
const std::string | directory = "." ) |
|
inlinestatic |
◆ serializeBegin()
template<class Problem>
| void Dumux::Restart::serializeBegin |
( |
Problem & | problem | ) |
|
|
inline |
◆ serializeEnd()
| void Dumux::Restart::serializeEnd |
( |
| ) |
|
|
inline |
◆ serializeEntities()
template<int codim, class Serializer, class GridView>
| void Dumux::Restart::serializeEntities |
( |
Serializer & | serializer, |
|
|
const GridView & | gridView ) |
|
inline |
The actual work is done by Serializer::serialize(Entity)
◆ serializeSectionBegin()
| void Dumux::Restart::serializeSectionBegin |
( |
const std::string & | cookie | ) |
|
|
inline |
◆ serializeSectionEnd()
| void Dumux::Restart::serializeSectionEnd |
( |
| ) |
|
|
inline |
◆ serializeStream()
| std::ostream & Dumux::Restart::serializeStream |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: