Ensure all processors have the same thpres_ array also when we do not restart

This commit is contained in:
Vegard Kippe 2024-11-28 19:22:21 +01:00
parent 4bb50eb1d8
commit 4555716dd8

View File

@ -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());
}
}