mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Clean-up output message for group
This commit is contained in:
parent
2c84970314
commit
49b5883ff7
@ -1806,14 +1806,11 @@ namespace Opm {
|
||||
|
||||
std::ostringstream ss;
|
||||
|
||||
if (oldControl != newControl) {
|
||||
const std::string from = Group::ProductionCMode2String(oldControl);
|
||||
ss << "Group " << group.name() << " exceeding "
|
||||
<< from << " limit \n";
|
||||
}
|
||||
switch(exceed_action) {
|
||||
case Group::ExceedAction::NONE: {
|
||||
OPM_DEFLOG_THROW(std::runtime_error, "Group " + group.name() + "GroupProductionExceedLimit NONE not implemented", deferred_logger);
|
||||
if (oldControl != newControl && oldControl != Group::ProductionCMode::NONE) {
|
||||
ss << "Group production exceed limit is NONE for group " + group.name() + ". Nothing happens";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Group::ExceedAction::CON: {
|
||||
|
Loading…
Reference in New Issue
Block a user