mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-04 12:33:01 -05:00
Using API get3DProperties()
This commit is contained in:
@@ -166,8 +166,8 @@ try
|
||||
|
||||
// Grid init
|
||||
|
||||
if (eclipseState->getEclipseProperties().hasDeckDoubleGridProperty("PORV")) {
|
||||
const auto& porv = eclipseState->getEclipseProperties().getDoubleGridProperty("PORV").getData();
|
||||
if (eclipseState->get3DProperties().hasDeckDoubleGridProperty("PORV")) {
|
||||
const auto& porv = eclipseState->get3DProperties().getDoubleGridProperty("PORV").getData();
|
||||
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
|
||||
} else {
|
||||
grid.reset(new GridManager(eclipseState->getEclipseGrid()));
|
||||
|
||||
Reference in New Issue
Block a user