From 4887dd3fe4fdaab003cdc5b8ad365a814486b55a Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 6 Feb 2024 14:47:31 +0100 Subject: [PATCH] rename TTag::EclFlowEnergyProblem to TTag::FlowEnergyProblem --- flow/flow_ebos_energy.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flow/flow_ebos_energy.cpp b/flow/flow_ebos_energy.cpp index 9d6c5cdf4..f97a346a8 100644 --- a/flow/flow_ebos_energy.cpp +++ b/flow/flow_ebos_energy.cpp @@ -26,13 +26,13 @@ namespace Opm { namespace Properties { namespace TTag { -struct EclFlowEnergyProblem { +struct FlowEnergyProblem { using InheritsFrom = std::tuple; }; } template -struct EnableEnergy { +struct EnableEnergy { static constexpr bool value = true; }; }} @@ -46,14 +46,14 @@ int flowEbosEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles) // with incorrect locale settings. resetLocale(); - FlowMain + FlowMain mainfunc {argc, argv, outputCout, outputFiles}; return mainfunc.execute(); } int flowEbosEnergyMainStandalone(int argc, char** argv) { - using TypeTag = Properties::TTag::EclFlowEnergyProblem; + using TypeTag = Properties::TTag::FlowEnergyProblem; auto mainObject = std::make_unique(argc, argv); auto ret = mainObject->runStatic(); // Destruct mainObject as the destructor calls MPI_Finalize!