diff --git a/flow/flow_ebos_gaswater_brine.cpp b/flow/flow_ebos_gaswater_brine.cpp index 13db6b88a..309ec1f1c 100644 --- a/flow/flow_ebos_gaswater_brine.cpp +++ b/flow/flow_ebos_gaswater_brine.cpp @@ -28,25 +28,25 @@ namespace Opm { namespace Properties { namespace TTag { -struct EclFlowGasWaterBrineProblem { +struct FlowGasWaterBrineProblem { using InheritsFrom = std::tuple; }; } template -struct EnableBrine { +struct EnableBrine { static constexpr bool value = true; }; template -struct EnableDisgasInWater { +struct EnableDisgasInWater { static constexpr bool value = true; }; template -struct EnableVapwat { +struct EnableVapwat { static constexpr bool value = true; }; //! The indices required by the model template -struct Indices +struct Indices { private: // it is unfortunately not possible to simply use 'TypeTag' here because this leads @@ -56,15 +56,15 @@ private: using FluidSystem = GetPropType; public: - typedef BlackOilTwoPhaseIndices(), - getPropValue(), - getPropValue(), - getPropValue(), - getPropValue(), - getPropValue(), - /*PVOffset=*/0, - /*disabledCompIdx=*/FluidSystem::oilCompIdx, - getPropValue()> type; + using type = BlackOilTwoPhaseIndices(), + getPropValue(), + getPropValue(), + getPropValue(), + getPropValue(), + getPropValue(), + /*PVOffset=*/0, + /*disabledCompIdx=*/FluidSystem::oilCompIdx, + getPropValue()>; }; }} @@ -77,14 +77,14 @@ int flowEbosGasWaterBrineMain(int argc, char** argv, bool outputCout, bool outpu // with incorrect locale settings. resetLocale(); - FlowMain + FlowMain mainfunc {argc, argv, outputCout, outputFiles}; return mainfunc.execute(); } int flowEbosGasWaterBrineMainStandalone(int argc, char** argv) { - using TypeTag = Properties::TTag::EclFlowGasWaterBrineProblem; + using TypeTag = Properties::TTag::FlowGasWaterBrineProblem; auto mainObject = std::make_unique(argc, argv); auto ret = mainObject->runStatic(); // Destruct mainObject as the destructor calls MPI_Finalize!