mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Move Damaris functionality to it's own class.
Step one for moving Damaris calls out of EclWriter class and into its own DamarisWriter class; EclProblem now calls both writeOutput methods and passes in the data::Solution object; Add fix for first writeOutput() call not having PRESSURE data available; data::Solution is now passed by rvalue ref into eclWriter::writeOutput(); guard added to prevent inclusion of damariswriter.hh
This commit is contained in:
@@ -145,7 +145,7 @@ list (APPEND MAIN_SOURCE_FILES
|
||||
)
|
||||
|
||||
|
||||
if (DAMARIS_FOUND AND MPI_FOUND)
|
||||
if (Damaris_FOUND AND MPI_FOUND)
|
||||
list (APPEND MAIN_SOURCE_FILES opm/simulators/utils/DamarisOutputModule.cpp)
|
||||
list (APPEND MAIN_SOURCE_FILES opm/simulators/utils/DamarisKeywords.cpp)
|
||||
list (APPEND MAIN_SOURCE_FILES opm/simulators/utils/initDamarisXmlFile.cpp)
|
||||
@@ -590,6 +590,10 @@ list (APPEND PUBLIC_HEADER_FILES
|
||||
opm/simulators/wells/WGState.hpp
|
||||
)
|
||||
|
||||
if (Damaris_FOUND AND MPI_FOUND)
|
||||
list (APPEND PUBLIC_HEADER_FILES ebos/damariswriter.hh)
|
||||
endif()
|
||||
|
||||
if(HDF5_FOUND)
|
||||
list(APPEND PUBLIC_HEADER_FILES
|
||||
ebos/hdf5serializer.hh
|
||||
|
||||
Reference in New Issue
Block a user