Also support "extbo" module.

This commit is contained in:
Atgeirr Flø Rasmussen committed 2025-07-04 10:24:34 +02:00
1 parent fcff49470c
commit a62280096f
2 files changed
+12 -2

No files matched your search

+11 -1
View File
@@ -422,7 +422,17 @@ public:
unsigned dofIdx,
unsigned timeIdx)
{
const PrimaryVariables& priVars = elemCtx.primaryVars(dofIdx, timeIdx);
zFractionUpdate_(elemCtx.primaryVars(dofIdx, timeIdx), timeIdx);
}
/*!
* \brief Compute extended pvt properties from table lookups.
*
* At this point the pressures of the fluid state are correct.
*/
void zFractionUpdate_(const PrimaryVariables& priVars,
unsigned timeIdx)
{
const unsigned pvtRegionIdx = priVars.pvtRegionIndex();
const auto& fs = asImp_().fluidState_;
@@ -728,7 +728,7 @@ public:
// update extBO parameters
if constexpr (enableExtbo) {
// TODO: asImp_().zFractionUpdate_(elemCtx, dofIdx, timeIdx);
asImp_().zFractionUpdate_(priVars, timeIdx);
}
updateRsRvRsw(problem, priVars, globalSpaceIdx, timeIdx);