diff --git a/examples/sim_poly_fi2p_comp_ad.cpp b/examples/sim_poly_fi2p_comp_ad.cpp index 1f965791c..55a577787 100644 --- a/examples/sim_poly_fi2p_comp_ad.cpp +++ b/examples/sim_poly_fi2p_comp_ad.cpp @@ -166,7 +166,7 @@ try // Grid init std::vector porv; - if (eclipseState->hasDoubleGridProperty("PORV")) { + if (eclipseState->hasDeckDoubleGridProperty("PORV")) { porv = eclipseState->getDoubleGridProperty("PORV")->getData(); } grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv)); diff --git a/opm/autodiff/GeoProps.hpp b/opm/autodiff/GeoProps.hpp index cfe9c5efc..77cb8afcb 100644 --- a/opm/autodiff/GeoProps.hpp +++ b/opm/autodiff/GeoProps.hpp @@ -95,13 +95,13 @@ namespace Opm // get the pore volume multipliers from the EclipseState std::vector multpv(numCartesianCells, 1.0); - if (eclState->hasDoubleGridProperty("MULTPV")) { + if (eclState->hasDeckDoubleGridProperty("MULTPV")) { multpv = eclState->getDoubleGridProperty("MULTPV")->getData(); } // get the net-to-gross cell thickness from the EclipseState std::vector ntg(numCartesianCells, 1.0); - if (eclState->hasDoubleGridProperty("NTG")) { + if (eclState->hasDeckDoubleGridProperty("NTG")) { ntg = eclState->getDoubleGridProperty("NTG")->getData(); }