From a7fd02f510446423baccc29619a6741388e45692 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 6 Feb 2024 14:47:31 +0100 Subject: [PATCH] rename TTag::EclFlowGasWaterSolventProblem to TTag::FlowGasWaterSolventProblem --- flow/flow_ebos_gaswater_solvent.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/flow/flow_ebos_gaswater_solvent.cpp b/flow/flow_ebos_gaswater_solvent.cpp index b09ac283a..44de475cb 100644 --- a/flow/flow_ebos_gaswater_solvent.cpp +++ b/flow/flow_ebos_gaswater_solvent.cpp @@ -31,19 +31,19 @@ namespace Opm { namespace Properties { namespace TTag { -struct EclFlowGasWaterSolventProblem { +struct FlowGasWaterSolventProblem { using InheritsFrom = std::tuple; }; } template -struct EnableSolvent { +struct EnableSolvent { 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 @@ -53,15 +53,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()>; }; }} @@ -75,14 +75,14 @@ int flowEbosGasWaterSolventMain(int argc, char** argv, bool outputCout, bool out // with incorrect locale settings. resetLocale(); - FlowMain + FlowMain mainfunc {argc, argv, outputCout, outputFiles} ; return mainfunc.execute(); } int flowEbosGasWaterSolventMainStandalone(int argc, char** argv) { - using TypeTag = Properties::TTag::EclFlowGasWaterSolventProblem; + using TypeTag = Properties::TTag::FlowGasWaterSolventProblem; auto mainObject = std::make_unique(argc, argv); auto ret = mainObject->runStatic(); // Destruct mainObject as the destructor calls MPI_Finalize!