mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Replaced SimulatorState -> SimulationDatacontainer
Have removed the SimulatorState base class, and instead replaced with the SimulationDatacontainer class from opm-common. The SimulatorState objects were typcially created with a default constructor, and then explicitly initialized with a SimulatorState::init() method. For the SimulationDataContainer RAII is employed; the init( ) has been removed - and there is no default constructor.
This commit is contained in:
parent
6fb9db5dcf
commit
12991490bd
@ -96,7 +96,8 @@ try
|
|||||||
warnIfUnusedParams(param);
|
warnIfUnusedParams(param);
|
||||||
|
|
||||||
// Initialisation.
|
// Initialisation.
|
||||||
BlackoilState state;
|
//initBlackoilSurfvolUsingRSorRV(UgGridHelpers::numCells(grid), props, state);
|
||||||
|
BlackoilState state( UgGridHelpers::numCells(grid) , UgGridHelpers::numFaces(grid), 3);
|
||||||
initStateEquil(grid, props, deck, eclipseState, grav, state);
|
initStateEquil(grid, props, deck, eclipseState, grav, state);
|
||||||
|
|
||||||
// Output.
|
// Output.
|
||||||
|
Loading…
Reference in New Issue
Block a user