Support minpvf.
This commit is contained in:
1 parent
b1ab170219
commit
4d7309b1bf
1 file changed
+4
-2
@@ -156,9 +156,11 @@ namespace Opm
|
||||
g.actnum = actnum.data();
|
||||
g.mapaxes = mapaxes.data();
|
||||
|
||||
if (!poreVolumes.empty() && eclipseGrid->isMinpvActive()) {
|
||||
if (!poreVolumes.empty() && (eclipseGrid->isMinpvActive() || eclipseGrid->isMinpvfActive())) {
|
||||
MinpvProcessor mp(g.dims[0], g.dims[1], g.dims[2]);
|
||||
mp.process(poreVolumes, eclipseGrid->getMinpvValue(), actnum, zcorn.data());
|
||||
const double minpv_value = eclipseGrid->isMinpvActive() ?
|
||||
eclipseGrid->getMinpvValue() : eclipseGrid->getMinpvfValue();
|
||||
mp.process(poreVolumes, minpv_value, actnum, zcorn.data());
|
||||
}
|
||||
|
||||
const double z_tolerance = eclipseGrid->isPinchActive() ?
|
||||
|
||||
Reference in new issue
Block a user