mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
Write correct THRESHPR values also from a restart.
This commit is contained in:
parent
4097a3c663
commit
2b4e09bc51
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user