mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
added: simple HDF5File class
bare minimum to enable reading and writing byte arrays
This commit is contained in:
@@ -172,6 +172,9 @@ if(MPI_FOUND)
|
||||
opm/simulators/utils/ParallelSerialization.cpp
|
||||
opm/simulators/utils/SetupZoltanParams.cpp)
|
||||
endif()
|
||||
if(HDF5_FOUND)
|
||||
list(APPEND MAIN_SOURCE_FILES opm/simulators/utils/HDF5File.cpp)
|
||||
endif()
|
||||
|
||||
# originally generated with the command:
|
||||
# find tests -name '*.cpp' -a ! -wholename '*/not-unit/*' -printf '\t%p\n' | sort
|
||||
@@ -218,6 +221,9 @@ endif()
|
||||
if(ROCALUTION_FOUND)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_rocalutionSolver.cpp)
|
||||
endif()
|
||||
if(HDF5_FOUND)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_HDF5File.cpp)
|
||||
endif()
|
||||
|
||||
list (APPEND TEST_DATA_FILES
|
||||
tests/equil_base.DATA
|
||||
@@ -430,6 +436,12 @@ list (APPEND PUBLIC_HEADER_FILES
|
||||
opm/simulators/wells/WGState.hpp
|
||||
)
|
||||
|
||||
if(HDF5_FOUND)
|
||||
list(APPEND PUBLIC_HEADER_FILES
|
||||
opm/simulators/utils/HDF5File.hpp
|
||||
)
|
||||
endif()
|
||||
|
||||
list (APPEND EXAMPLE_SOURCE_FILES
|
||||
examples/printvfp.cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user