mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 09:52:01 -05:00
black oil primary variables: add an assignMassConservative() method
and use it in ebos...
This commit is contained in:
1 parent
0baa3f23a7
commit
be3772e351
1 file changed
+2
-1
@@ -566,7 +566,8 @@ public:
|
||||
{
|
||||
int globalDofIdx = context.globalSpaceIndex(spaceIdx, timeIdx);
|
||||
|
||||
values.assignNaive(initialFluidStates_[globalDofIdx]);
|
||||
const auto& matParams = materialLawParams(context, spaceIdx, timeIdx);
|
||||
values.assignMassConservative(initialFluidStates_[globalDofIdx], matParams);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user