diff --git a/flow/flow_ebos_gasoil.cpp b/flow/flow_ebos_gasoil.cpp index 4d78c4e93..0321964c3 100644 --- a/flow/flow_ebos_gasoil.cpp +++ b/flow/flow_ebos_gasoil.cpp @@ -31,23 +31,23 @@ namespace Opm { namespace Properties { namespace TTag { -struct EclFlowGasOilProblem { +struct FlowGasOilProblem { using InheritsFrom = std::tuple; }; } template -struct Linearizer { using type = TpfaLinearizer; }; +struct Linearizer { using type = TpfaLinearizer; }; template -struct LocalResidual { using type = BlackOilLocalResidualTPFA; }; +struct LocalResidual { using type = BlackOilLocalResidualTPFA; }; template -struct EnableDiffusion { static constexpr bool value = false; }; +struct EnableDiffusion { static constexpr bool value = false; }; //! 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 @@ -57,15 +57,15 @@ private: using FluidSystem = GetPropType; public: - typedef BlackOilTwoPhaseIndices(), - getPropValue(), - getPropValue(), - getPropValue(), - getPropValue(), - getPropValue(), - /*PVOffset=*/0, - /*disabledCompIdx=*/FluidSystem::waterCompIdx, - getPropValue()> type; + using type = BlackOilTwoPhaseIndices(), + getPropValue(), + getPropValue(), + getPropValue(), + getPropValue(), + getPropValue(), + /*PVOffset=*/0, + /*disabledCompIdx=*/FluidSystem::waterCompIdx, + getPropValue()>; }; }} @@ -78,14 +78,14 @@ int flowEbosGasOilMain(int argc, char** argv, bool outputCout, bool outputFiles) // with incorrect locale settings. resetLocale(); - FlowMain + FlowMain mainfunc {argc, argv, outputCout, outputFiles} ; return mainfunc.execute(); } int flowEbosGasOilMainStandalone(int argc, char** argv) { - using TypeTag = Properties::TTag::EclFlowGasOilProblem; + using TypeTag = Properties::TTag::FlowGasOilProblem; auto mainObject = std::make_unique(argc, argv); auto ret = mainObject->runStatic(); // Destruct mainObject as the destructor calls MPI_Finalize!