mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
Adapt to api changes of opm-parser.
This commit is contained in:
parent
6cd0c47b94
commit
3ddb930d1f
@ -103,7 +103,7 @@ namespace Opm
|
||||
props.porosity()[cellIdx]
|
||||
* multpv[cartesianCellIdx]
|
||||
* ntg[cartesianCellIdx];
|
||||
if (eclgrid->isMinpvfActive()) {
|
||||
if (eclgrid->getMinpvMode() == MinpvMode::ModeEnum::OpmFIL) {
|
||||
pvol_[cellIdx] *= AutoDiffGrid::cellVolume(grid, cellIdx);
|
||||
} else {
|
||||
pvol_[cellIdx] *= eclgrid->getCellVolume(cartesianCellIdx);
|
||||
|
Loading…
Reference in New Issue
Block a user