Factor out computation of properties for well connection pressures

Computation of properties used in computeConnectionPressureDelta
is factored out to computePropertiesForWellConnectionPressures
The motivation is to be able to use a modified version of
computePropertiesForWellConnectionPressures in the solvent model
This commit is contained in:
Tor Harald Sandve
2016-03-18 10:48:54 +01:00
parent 7b81facfb0
commit 9cd0383d36
2 changed files with 49 additions and 18 deletions

View File

@@ -387,6 +387,13 @@ namespace Opm {
void computeWellConnectionPressures(const SolutionState& state,
const WellState& xw);
void computePropertiesForWellConnectionPressures(const SolutionState& state,
const WellState& xw,
std::vector<double>& b_perf,
std::vector<double>& rsmax_perf,
std::vector<double>& rvmax_perf,
std::vector<double>& surf_dens_perf);
void
assembleMassBalanceEq(const SolutionState& state);