SPH
|
Input for the text file, generated by TextOutput or conforming to the same format. More...
#include <Output.h>
Public Member Functions | |
TextInput (Flags< OutputQuantityFlag > quantities) | |
TextInput & | addColumn (AutoPtr< ITextColumn > &&column) |
virtual Outcome | load (const Path &path, Storage &storage, Statistics &stats) override |
Loads data from the file into the storage. More... | |
![]() | |
virtual | ~Polymorphic () |
Input for the text file, generated by TextOutput or conforming to the same format.
Note that this loader cannot be used to resume a simulation (at least not directly), as the text file does not contains all the necessary data.
|
explicit |
Definition at line 256 of file Output.cpp.
TextInput & TextInput::addColumn | ( | AutoPtr< ITextColumn > && | column | ) |
Definition at line 330 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 260 of file Output.cpp.