This commit is contained in:
Franz G. Fuchs 2019-01-18 15:16:59 +01:00
parent 129e7d181e
commit 80747fc123

View File

@ -433,6 +433,7 @@ namespace Opm
WellState& well_state, WellState& well_state,
Opm::DeferredLogger& deferredLogger) /* const */ Opm::DeferredLogger& deferredLogger) /* const */
{ {
auto cc = Dune::MPIHelper::getCollectiveCommunication();
const int np = number_of_phases_; const int np = number_of_phases_;
const int w = index_of_well_; const int w = index_of_well_;
@ -499,9 +500,9 @@ namespace Opm
std::ostringstream ss; std::ostringstream ss;
ss << " Switching control mode for well " << name() ss << " Switching control mode for well " << name()
<< " from " << modestring[from] << " from " << modestring[from]
<< " to " << modestring[to]; << " to " << modestring[to]
<< " on rank " << cc.rank();
deferredLogger.info(ss.str()); deferredLogger.info(ss.str());
//logger.wellSwitched(name()
} }
if (updated_control_index != old_control_index) { // || well_collection_->groupControlActive()) { if (updated_control_index != old_control_index) { // || well_collection_->groupControlActive()) {