From 2a732d3c99d55822ab6d0fee464d9786d2972da5 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Mon, 16 Dec 2019 14:28:55 +0100 Subject: [PATCH] add group name to output --- opm/simulators/wells/BlackoilWellModel_impl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index 566dc511c..68872997a 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -1919,7 +1919,7 @@ namespace Opm { case Group::ExceedAction::RATE: { if (oldControl != newControl) { well_state.setCurrentProductionGroupControl(group.name(), newControl); - ss << "Switching control mode for group to " << Group::ProductionCMode2String(newControl); + ss << "Switching control mode for group "<< group.name() << " to " << Group::ProductionCMode2String(newControl); } wellGroupHelpers::setGroupControl(group, schedule(), reportStepIdx, false, well_state, ss); break; @@ -1951,7 +1951,7 @@ namespace Opm { const std::string from = Group::InjectionCMode2String(oldControl); ss << "Group " << group.name() << " exceeding " << from << " limit \n"; - ss << "Switching control mode for group to " << Group::InjectionCMode2String(newControl); + ss << "Switching control mode for group "<< group.name() << " to " << Group::InjectionCMode2String(newControl); auto cc = Dune::MPIHelper::getCollectiveCommunication(); if (cc.size() > 1) { ss << " on rank " << cc.rank();