fix regression in wells

we need to call WellInterface::getTHPConstraint,
not WellBhpThpCalculator::getTHPConstraint
This commit is contained in:
Arne Morten Kvarving
2022-11-23 15:37:04 +01:00
parent 8fc13d4bef
commit 2da1322697
4 changed files with 6 additions and 1 deletions

View File

@@ -1918,6 +1918,7 @@ namespace Opm
this->maxPerfPress(ebos_simulator),
this->getRefDensity(),
alq_value,
this->getTHPConstraint(summary_state),
deferred_logger);
if (bhpAtLimit)
@@ -1938,6 +1939,7 @@ namespace Opm
this->maxPerfPress(ebos_simulator),
this->getRefDensity(),
alq_value,
this->getTHPConstraint(summary_state),
deferred_logger);
}