mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 01:41:56 -06:00
black oil primary variables: add an assignMassConservative() method
and use it in ebos...
This commit is contained in:
parent
0baa3f23a7
commit
be3772e351
@ -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);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user