diff --git a/flow/flow_ebos_oilwater_brine.cpp b/flow/flow_ebos_oilwater_brine.cpp index 185865f15..5f83ae669 100644 --- a/flow/flow_ebos_oilwater_brine.cpp +++ b/flow/flow_ebos_oilwater_brine.cpp @@ -28,17 +28,17 @@ namespace Opm { namespace Properties { namespace TTag { -struct EclFlowOilWaterBrineProblem { +struct FlowOilWaterBrineProblem { using InheritsFrom = std::tuple; }; } template -struct EnableBrine { +struct EnableBrine { 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 @@ -48,15 +48,15 @@ private: using FluidSystem = GetPropType; public: - typedef BlackOilTwoPhaseIndices(), - getPropValue(), - getPropValue(), - getPropValue(), - getPropValue(), - getPropValue(), - /*PVOffset=*/0, - /*disabledCompIdx=*/FluidSystem::gasCompIdx, - getPropValue()> type; + using type = BlackOilTwoPhaseIndices(), + getPropValue(), + getPropValue(), + getPropValue(), + getPropValue(), + getPropValue(), + /*PVOffset=*/0, + /*disabledCompIdx=*/FluidSystem::gasCompIdx, + getPropValue()>; }; }} @@ -69,14 +69,14 @@ int flowEbosOilWaterBrineMain(int argc, char** argv, bool outputCout, bool outpu // with incorrect locale settings. resetLocale(); - FlowMain + FlowMain mainfunc {argc, argv, outputCout, outputFiles}; return mainfunc.execute(); } int flowEbosOilWaterBrineMainStandalone(int argc, char** argv) { - using TypeTag = Properties::TTag::EclFlowOilWaterBrineProblem; + using TypeTag = Properties::TTag::FlowOilWaterBrineProblem; auto mainObject = std::make_unique(argc, argv); auto ret = mainObject->runStatic(); // Destruct mainObject as the destructor calls MPI_Finalize!