mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
shared_ptr<EclipseGrid> -> const EclipseGrid&
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user