mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 14:51:56 -06:00
shared_ptr<EclipseGrid> -> const EclipseGrid&
This commit is contained in:
parent
877bd70c54
commit
39647c6ad3
@ -92,7 +92,7 @@ try
|
||||
Opm::DeckConstPtr deck = parser->parseFile(deck_filename , parseContext);
|
||||
Opm::EclipseStateConstPtr eclipseState(new Opm::EclipseState(*deck, parseContext));
|
||||
const double grav = param.getDefault("gravity", unit::gravity);
|
||||
GridManager gm(eclipseState->getInputGrid());
|
||||
GridManager gm(*eclipseState->getInputGrid());
|
||||
const UnstructuredGrid& grid = *gm.c_grid();
|
||||
BlackoilPropertiesFromDeck props(deck, eclipseState, grid, param);
|
||||
warnIfUnusedParams(param);
|
||||
|
Loading…
Reference in New Issue
Block a user