SPH
|
Input for the binary file, generated by BinaryOutput. More...
#include <Output.h>
Classes | |
struct | Info |
Public Member Functions | |
virtual Outcome | load (const Path &path, Storage &storage, Statistics &stats) override |
Loads data from the file into the storage. More... | |
Expected< Info > | getInfo (const Path &path) const |
Opens the file and reads header info without reading the rest of the file. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Input for the binary file, generated by BinaryOutput.
Storage loaded by this class can be used to continue a simulation.
Expected< BinaryInput::Info > BinaryInput::getInfo | ( | const Path & | path | ) | const |
Opens the file and reads header info without reading the rest of the file.
Definition at line 814 of file Output.cpp.
|
overridevirtual |
Loads data from the file into the storage.
This will remove any data previously stored in storage. Function can also load additional run statistics, such as time of the snapshot, and save it to provided stats value.
Implements IInput.
Definition at line 718 of file Output.cpp.