ebos: fix build breakage due to an opm-core API change

the BlackoilState class removed the init() method and now expects the
arguments for this method for the constructor...
This commit is contained in:
Andreas Lauser 2016-03-30 11:12:52 +02:00
parent cf143f3740
commit 4360201416

View File

@ -126,10 +126,9 @@ public:
assert( gridManager.grid().size(/*codim=*/0) == static_cast<int>(numEquilElems) );
// initialize the boiler plate of opm-core the state structure.
Opm::BlackoilState opmBlackoilState;
opmBlackoilState.init(numEquilElems,
/*numFaces=*/0, // we don't care here
numPhases);
Opm::BlackoilState opmBlackoilState(numEquilElems,
/*numFaces=*/0, // we don't care here
numPhases);
// do the actual computation.
Opm::initStateEquil(equilGrid,