Chase API Update

The WBP result type is now top-level.
This commit is contained in:
Bård Skaflestad
2024-12-11 08:12:49 +01:00
parent d0eba9ffe2
commit 340855a41d
4 changed files with 8 additions and 8 deletions

View File

@@ -599,7 +599,7 @@ BOOST_AUTO_TEST_CASE(TopOfFormation_Well_OpenConns)
cse.wbpCalcService.inferBlockAveragePressures(calcIndex, controls, gravity, refDepth);
const auto avgPress = cse.wbpCalcService.averagePressures(calcIndex);
using WBPMode = Opm::PAvgCalculator<double>::Result::WBPMode;
using WBPMode = Opm::PAvgCalculatorResult<double>::WBPMode;
BOOST_CHECK_CLOSE(avgPress.value(WBPMode::WBP) , 1254.806625666667, 1.0e-8);
BOOST_CHECK_CLOSE(avgPress.value(WBPMode::WBP4), 1295.348292333333, 1.0e-8);