Use new name from opm-common

This commit is contained in:
Håkon Hægland 2023-05-09 09:01:01 +02:00
parent bdfa287fec
commit 54c7af85d4

View File

@ -340,7 +340,7 @@ calculateBhpFromThp(const WellState& well_state,
double WellBhpThpCalculator::getVfpBhpAdjustment(const double bhp_tab, const double thp_limit) const
{
return well_.wellEcl().getWVFPDP().getDP(bhp_tab, thp_limit);
return well_.wellEcl().getWVFPDP().getPressureLoss(bhp_tab, thp_limit);
}
template<class ErrorPolicy>