shared_ptr<EclipseGrid> -> const EclipseGrid&

This commit is contained in:
Joakim Hove 2016-08-31 19:47:37 +02:00
parent 5b81aab882
commit 118a701575
2 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ protected:
// create the EQUIL grid
/////
equilGrid_ = new EquilGrid();
equilGrid_->processEclipseFormat(this->eclState()->getInputGrid(),
equilGrid_->processEclipseFormat(*this->eclState()->getInputGrid(),
/*isPeriodic=*/false,
/*flipNormals=*/false,
/*clipZ=*/false,

View File

@ -171,7 +171,7 @@ protected:
const std::vector<double> &porv = gridProps.getDoubleGridProperty("PORV").getData();
grid_ = new Dune::CpGrid();
grid_->processEclipseFormat(this->eclState()->getInputGrid(),
grid_->processEclipseFormat(*this->eclState()->getInputGrid(),
/*isPeriodic=*/false,
/*flipNormals=*/false,
/*clipZ=*/false,
@ -182,7 +182,7 @@ protected:
// is allergic to distributed grids and the simulation grid is distributed before
// the initial condition is calculated.
equilGrid_ = new Dune::CpGrid();
equilGrid_->processEclipseFormat(this->eclState()->getInputGrid(),
equilGrid_->processEclipseFormat(*this->eclState()->getInputGrid(),
/*isPeriodic=*/false,
/*flipNormals=*/false,
/*clipZ=*/false,