Density and viscosity as inputs instead of computed in computeMassFlux

Density and viscosity are given as input instead of calculated inside
computeMassFlux. This allow for modifying the properties prior to
calling computeMassFlux which avoids code duplication in the solvent
implementation.
This commit is contained in:
Tor Harald Sandve
2016-02-03 11:26:11 +01:00
parent 0745be3eba
commit c85f10046c
4 changed files with 19 additions and 12 deletions

View File

@@ -238,6 +238,8 @@ namespace Opm {
computeMassFlux(const int actph ,
const V& transi,
const ADB& kr ,
const ADB& mu ,
const ADB& rho ,
const ADB& p ,
const SolutionState& state );