mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-26 07:30:08 -05:00
Also support "extbo" module.
This commit is contained in:
1 parent
fcff49470c
commit
a62280096f
2 files changed
+12
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user