changed: rename FlowMain.cpp to FlowUtils.cpp

and add a dedicated header.

this way we don't need to pull in FlowMain.hpp for the prototypes,
avoiding pulling in the entire simulator machinery just to build
some simple utility functions.
This commit is contained in:
Arne Morten Kvarving
2024-03-01 14:22:52 +01:00
parent 9f13a25ebc
commit fdb285c03a
4 changed files with 64 additions and 26 deletions

View File

@@ -43,7 +43,7 @@ list (APPEND MAIN_SOURCE_FILES
opm/simulators/flow/Banners.cpp
opm/simulators/flow/ConvergenceOutputConfiguration.cpp
opm/simulators/flow/ExtraConvergenceOutputThread.cpp
opm/simulators/flow/FlowMain.cpp
opm/simulators/flow/FlowUtils.cpp
opm/simulators/flow/GenericOutputBlackoilModule.cpp
opm/simulators/flow/InterRegFlows.cpp
opm/simulators/flow/KeywordValidation.cpp
@@ -452,6 +452,7 @@ list (APPEND PUBLIC_HEADER_FILES
opm/simulators/flow/DummyGradientCalculator.hpp
opm/simulators/flow/ExtraConvergenceOutputThread.hpp
opm/simulators/flow/FlowMain.hpp
opm/simulators/flow/FlowUtils.hpp
opm/simulators/flow/FlowsData.hpp
opm/simulators/flow/GenericOutputBlackoilModule.hpp
opm/simulators/flow/InterRegFlows.hpp