refactoring computeMassFlux().

To match the opm-autodiff implementation that only handles one phase
each time.

Polymer equation is handled with the water phase together, since it
effects the water phase.
This commit is contained in:
Kai Bao
2015-05-08 10:07:49 +02:00
parent 3bd0ff1885
commit b46dcc3b76
2 changed files with 51 additions and 48 deletions

View File

@@ -296,10 +296,12 @@ namespace Opm {
computeRelPerm(const SolutionState& state) const;
void
computeMassFlux(const V& transi,
const std::vector<ADB>& kr ,
const std::vector<ADB>& phasePressure,
computeMassFlux(const int actph ,
const V& transi,
const ADB& kr ,
const ADB& p ,
const SolutionState& state );
void
computeCmax(PolymerBlackoilState& state);