mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
makre sure network_changed synchronized across the processes
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user