mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
shared_ptr<EclipseGrid> -> const EclipseGrid&
This commit is contained in:
@@ -78,7 +78,7 @@ try
|
||||
Opm::DeckConstPtr deck(parser->parseFile(eclipseFilename, parseContext));
|
||||
eclState.reset(new EclipseState(*deck, parseContext));
|
||||
|
||||
GridManager gm(eclState->getInputGrid());
|
||||
GridManager gm(*eclState->getInputGrid());
|
||||
const UnstructuredGrid& grid = *gm.c_grid();
|
||||
using boost::filesystem::path;
|
||||
path fpath(eclipseFilename);
|
||||
|
||||
Reference in New Issue
Block a user