mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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_) {
|
if (this->enableThresholdPressure_ && !this->thpresDefault_.empty() && !this->restart_) {
|
||||||
this->computeDefaultThresholdPressures_();
|
this->computeDefaultThresholdPressures_();
|
||||||
this->applyExplicitThresholdPressures_();
|
this->applyExplicitThresholdPressures_();
|
||||||
|
simulator_.vanguard().gridView().comm().max(&this->thpres_[0], this->thpres_.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user