mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 18:02:01 -05:00
Write correct THRESHPR values also from a restart.
This commit is contained in:
1 parent
4097a3c663
commit
2b4e09bc51
1 file changed
+6
@@ -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