mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -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
|
||||
std::vector<double> porv;
|
||||
if (eclipseState->hasDoubleGridProperty("PORV")) {
|
||||
if (eclipseState->hasDeckDoubleGridProperty("PORV")) {
|
||||
porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
||||
}
|
||||
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
|
||||
|
@ -95,13 +95,13 @@ namespace Opm
|
||||
|
||||
// get the pore volume multipliers from the EclipseState
|
||||
std::vector<double> 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<double> ntg(numCartesianCells, 1.0);
|
||||
if (eclState->hasDoubleGridProperty("NTG")) {
|
||||
if (eclState->hasDeckDoubleGridProperty("NTG")) {
|
||||
ntg = eclState->getDoubleGridProperty("NTG")->getData();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user