Ewoms::Restart Class Reference Load or save a state of a problem to/from the harddisk. More...
Detailed DescriptionLoad or save a state of a problem to/from the harddisk. Member Function Documentation
template<class Simulator >
Start reading a restart file at a certain simulated time. References deserializeSectionBegin(), deserializeSectionEnd(), Ewoms::Simulator< TypeTag >::gridView(), and Ewoms::Simulator< TypeTag >::problem(). Referenced by Ewoms::Simulator< TypeTag >::run().
Stop reading the restart file. Referenced by Ewoms::Simulator< TypeTag >::run().
template<int codim, class Deserializer , class GridView >
Deserialize all leaf entities of a codim in a grid. The actual work is done by Deserializer::deserialize(Entity) References deserializeSectionBegin(), and deserializeSectionEnd().
Start reading a new section of the restart file. Referenced by deserializeBegin(), and deserializeEntities().
End of a section in the serialized output. Referenced by deserializeBegin(), and deserializeEntities().
The input stream to read the data which ought to be deserialized.
Returns the name of the file which is (de-)serialized. Referenced by Ewoms::Simulator< TypeTag >::run().
template<class Simulator >
Write the current state of the model to disk. References Ewoms::Simulator< TypeTag >::gridView(), Ewoms::Simulator< TypeTag >::problem(), serializeSectionBegin(), serializeSectionEnd(), and Ewoms::Simulator< TypeTag >::time(). Referenced by Ewoms::Simulator< TypeTag >::serialize().
Finish the restart file.
template<int codim, class Serializer , class GridView >
Serialize all leaf entities of a codim in a gridView. The actual work is done by Serializer::serialize(Entity) References serializeSectionBegin(), and serializeSectionEnd().
Start a new section in the serialized output. Referenced by serializeBegin(), and serializeEntities().
End of a section in the serialized output. Referenced by serializeBegin(), and serializeEntities().
The output stream to write the serialized data. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||