black oil primary variables: add an assignMassConservative() method

and use it in ebos...
This commit is contained in:
Andreas Lauser 2015-01-15 12:38:12 +01:00
parent 0baa3f23a7
commit be3772e351

View File

@ -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);
}
/*!