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