mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix the deprecation warnings caused by OPM/opm-parser#687
This commit is contained in:
parent
dff635e7b9
commit
099c958137
@ -166,7 +166,7 @@ try
|
|||||||
|
|
||||||
// Grid init
|
// Grid init
|
||||||
std::vector<double> porv;
|
std::vector<double> porv;
|
||||||
if (eclipseState->hasDoubleGridProperty("PORV")) {
|
if (eclipseState->hasDeckDoubleGridProperty("PORV")) {
|
||||||
porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
||||||
}
|
}
|
||||||
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
|
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
|
||||||
|
@ -95,13 +95,13 @@ namespace Opm
|
|||||||
|
|
||||||
// get the pore volume multipliers from the EclipseState
|
// get the pore volume multipliers from the EclipseState
|
||||||
std::vector<double> multpv(numCartesianCells, 1.0);
|
std::vector<double> multpv(numCartesianCells, 1.0);
|
||||||
if (eclState->hasDoubleGridProperty("MULTPV")) {
|
if (eclState->hasDeckDoubleGridProperty("MULTPV")) {
|
||||||
multpv = eclState->getDoubleGridProperty("MULTPV")->getData();
|
multpv = eclState->getDoubleGridProperty("MULTPV")->getData();
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the net-to-gross cell thickness from the EclipseState
|
// get the net-to-gross cell thickness from the EclipseState
|
||||||
std::vector<double> ntg(numCartesianCells, 1.0);
|
std::vector<double> ntg(numCartesianCells, 1.0);
|
||||||
if (eclState->hasDoubleGridProperty("NTG")) {
|
if (eclState->hasDeckDoubleGridProperty("NTG")) {
|
||||||
ntg = eclState->getDoubleGridProperty("NTG")->getData();
|
ntg = eclState->getDoubleGridProperty("NTG")->getData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user