mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
report rank only if size>1
This commit is contained in:
parent
80747fc123
commit
26bc063a0c
@ -500,8 +500,10 @@ namespace Opm
|
||||
std::ostringstream ss;
|
||||
ss << " Switching control mode for well " << name()
|
||||
<< " from " << modestring[from]
|
||||
<< " to " << modestring[to]
|
||||
<< " on rank " << cc.rank();
|
||||
<< " to " << modestring[to];
|
||||
if (cc.size()>1) {
|
||||
ss << " on rank " << cc.rank();
|
||||
}
|
||||
deferredLogger.info(ss.str());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user