mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 23:43:28 -06:00
Ensure all processors have the same thpres_ array also when we do not restart
This commit is contained in:
parent
4bb50eb1d8
commit
4555716dd8
@ -88,6 +88,7 @@ public:
|
||||
if (this->enableThresholdPressure_ && !this->thpresDefault_.empty() && !this->restart_) {
|
||||
this->computeDefaultThresholdPressures_();
|
||||
this->applyExplicitThresholdPressures_();
|
||||
simulator_.vanguard().gridView().comm().max(&this->thpres_[0], this->thpres_.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user