mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-04 08:33:01 -05:00
Remove the check if porv is present in the Eclipsestate.
The porv is computed if needed and the Eclipsestate will return false on this test before it is called. Tested on Norne
This commit is contained in:
@@ -129,10 +129,7 @@ try
|
||||
}
|
||||
|
||||
// Grid init
|
||||
std::vector<double> porv;
|
||||
if (eclipseState->hasDoubleGridProperty("PORV")) {
|
||||
porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
||||
}
|
||||
std::vector<double> porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
||||
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
|
||||
auto &cGrid = *grid->c_grid();
|
||||
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
|
||||
|
||||
Reference in New Issue
Block a user