mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-30 21:13:49 -06:00
shared_ptr<EclipseGrid> -> const EclipseGrid&
This commit is contained in:
parent
5b81aab882
commit
118a701575
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user