mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-07-29 18:37:55 -05:00
Write correct THRESHPR values also from a restart.
This commit is contained in:
@@ -227,6 +227,12 @@ getRestartVector() const
|
||||
return {};
|
||||
|
||||
std::vector<Scalar> result(numEquilRegions_ * numEquilRegions_, 0.0);
|
||||
|
||||
if (this->restart_) {
|
||||
result = this->thpres_;
|
||||
return result;
|
||||
}
|
||||
|
||||
const auto& simConfig = eclState_.getSimulationConfig();
|
||||
const auto& thpres = simConfig.getThresholdPressure();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user