mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06: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. This commit applies the change to the sim_fibo_ad_cp.cpp
This commit is contained in:
parent
0979346430
commit
d0fc3eba77
@ -156,10 +156,7 @@ try
|
|||||||
|
|
||||||
// Grid init
|
// Grid init
|
||||||
grid.reset(new Dune::CpGrid());
|
grid.reset(new Dune::CpGrid());
|
||||||
std::vector<double> porv;
|
std::vector<double> porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
||||||
if (eclipseState->hasDoubleGridProperty("PORV")) {
|
|
||||||
porv = eclipseState->getDoubleGridProperty("PORV")->getData();
|
|
||||||
}
|
|
||||||
grid->processEclipseFormat(deck, false, false, false, porv);
|
grid->processEclipseFormat(deck, false, false, false, porv);
|
||||||
|
|
||||||
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
|
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
|
||||||
|
Loading…
Reference in New Issue
Block a user