SPH
|
Interface for loading quantities of SPH particles from a file. More...
#include <Output.h>
Public Member Functions | |
virtual Outcome | load (const Path &path, Storage &storage, Statistics &stats)=0 |
Loads data from the file into the storage. More... | |
![]() | |
virtual | ~Polymorphic () |
Interface for loading quantities of SPH particles from a file.
This can be used to continue simulation from a previously saved snapshot.
|
pure virtual |
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.
Implemented in TabInput, PkdgravInput, MpcorpInput, Hdf5Input, CompressedInput, BinaryInput, and TextInput.