mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
cf143f3740
commit
4360201416
@ -126,10 +126,9 @@ public:
|
|||||||
|
|
||||||
assert( gridManager.grid().size(/*codim=*/0) == static_cast<int>(numEquilElems) );
|
assert( gridManager.grid().size(/*codim=*/0) == static_cast<int>(numEquilElems) );
|
||||||
// initialize the boiler plate of opm-core the state structure.
|
// initialize the boiler plate of opm-core the state structure.
|
||||||
Opm::BlackoilState opmBlackoilState;
|
Opm::BlackoilState opmBlackoilState(numEquilElems,
|
||||||
opmBlackoilState.init(numEquilElems,
|
/*numFaces=*/0, // we don't care here
|
||||||
/*numFaces=*/0, // we don't care here
|
numPhases);
|
||||||
numPhases);
|
|
||||||
|
|
||||||
// do the actual computation.
|
// do the actual computation.
|
||||||
Opm::initStateEquil(equilGrid,
|
Opm::initStateEquil(equilGrid,
|
||||||
|
Loading…
Reference in New Issue
Block a user