shared_ptr<EclipseGrid> -> const EclipseGrid&

This commit is contained in:
Joakim Hove
2016-08-31 19:39:39 +02:00
parent 5f1bcb2a59
commit 10d76d5bb1
11 changed files with 21 additions and 21 deletions

View File

@@ -105,7 +105,7 @@ try
eclipseState.reset(new Opm::EclipseState(*deck , parseContext));
// Grid init
grid.reset(new GridManager(eclipseState->getInputGrid()));
grid.reset(new GridManager(*eclipseState->getInputGrid()));
{
const UnstructuredGrid& ug_grid = *(grid->c_grid());