SPH
|
Reader of HDF5 files generated by the code miluphcuda. More...
#include <Output.h>
Public Member Functions | |
virtual Outcome | load (const Path &path, Storage &storage, Statistics &stats) override |
Loads data from the file into the storage. More... | |
![]() | |
virtual | ~Polymorphic () |
Reader of HDF5 files generated by the code miluphcuda.
Requires to build code with libhdf5. If built without it, the reader always return an error when used. See https://github.com/christophmschaefer/miluphcuda
|
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 1253 of file Output.cpp.