added: HDF5Serializer

this takes the serialization data and stores it in a hdf5 file,
alternatively reads the data and deserializes.

will be used for restarting purposes
This commit is contained in:
Arne Morten Kvarving
2023-02-07 14:53:32 +01:00
parent a90189c78d
commit 4b07f6d010
3 changed files with 217 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ if(ROCALUTION_FOUND)
endif()
if(HDF5_FOUND)
list(APPEND TEST_SOURCE_FILES tests/test_HDF5File.cpp)
list(APPEND TEST_SOURCE_FILES tests/test_HDF5Serializer.cpp)
endif()
list (APPEND TEST_DATA_FILES
@@ -441,6 +442,7 @@ list (APPEND PUBLIC_HEADER_FILES
if(HDF5_FOUND)
list(APPEND PUBLIC_HEADER_FILES
ebos/hdf5serializer.hh
opm/simulators/utils/HDF5File.hpp
)
endif()