mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add group name to output
This commit is contained in:
parent
2a0f8a0465
commit
2a732d3c99
@ -1919,7 +1919,7 @@ namespace Opm {
|
|||||||
case Group::ExceedAction::RATE: {
|
case Group::ExceedAction::RATE: {
|
||||||
if (oldControl != newControl) {
|
if (oldControl != newControl) {
|
||||||
well_state.setCurrentProductionGroupControl(group.name(), 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);
|
wellGroupHelpers::setGroupControl(group, schedule(), reportStepIdx, false, well_state, ss);
|
||||||
break;
|
break;
|
||||||
@ -1951,7 +1951,7 @@ namespace Opm {
|
|||||||
const std::string from = Group::InjectionCMode2String(oldControl);
|
const std::string from = Group::InjectionCMode2String(oldControl);
|
||||||
ss << "Group " << group.name() << " exceeding "
|
ss << "Group " << group.name() << " exceeding "
|
||||||
<< from << " limit \n";
|
<< 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();
|
auto cc = Dune::MPIHelper::getCollectiveCommunication();
|
||||||
if (cc.size() > 1) {
|
if (cc.size() > 1) {
|
||||||
ss << " on rank " << cc.rank();
|
ss << " on rank " << cc.rank();
|
||||||
|
Loading…
Reference in New Issue
Block a user