SPH
Public Member Functions | List of all members
Hdf5Input Class Reference

Reader of HDF5 files generated by the code miluphcuda. More...

#include <Output.h>

Inheritance diagram for Hdf5Input:
IInput Polymorphic

Public Member Functions

virtual Outcome load (const Path &path, Storage &storage, Statistics &stats) override
 Loads data from the file into the storage. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

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

Definition at line 468 of file Output.h.

Member Function Documentation

◆ load()

Outcome Hdf5Input::load ( const Path path,
Storage storage,
Statistics stats 
)
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.


The documentation for this class was generated from the following files: