mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-27 19:50:16 -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) );
|
||||
// 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,
|
||||
|
Loading…
Reference in New Issue
Block a user