mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
makre sure network_changed synchronized across the processes
This commit is contained in:
committed by
Atgeirr Flø Rasmussen
parent
cc15b29372
commit
de4473bbd8
@@ -1479,7 +1479,8 @@ namespace Opm {
|
||||
const auto& comm = ebosSimulator_.vanguard().grid().comm();
|
||||
updateAndCommunicateGroupData(episodeIdx, iterationIdx);
|
||||
|
||||
const bool network_changed = updateNetworkPressures(episodeIdx);
|
||||
const bool local_network_changed = updateNetworkPressures(episodeIdx);
|
||||
const bool network_changed = comm.sum(local_network_changed);
|
||||
|
||||
std::set<std::string> switched_wells;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user