Implements initialization for constant capillary pressure functions

This commit is contained in:
Tor Harald Sandve
2014-08-11 11:23:15 +02:00
parent bf635f3fe9
commit 91bdb7dde2
2 changed files with 33 additions and 14 deletions

View File

@@ -403,7 +403,7 @@ namespace Opm
PVec press = phasePressures(G, eqreg, cells, grav);
const PVec sat = phaseSaturations(eqreg, cells, props, swat_init_, press);
const PVec sat = phaseSaturations(G, eqreg, cells, props, swat_init_, press);
const int np = props.numPhases();
for (int p = 0; p < np; ++p) {