mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2243 from blattms/construct-cpgrid-from-eclgrid-pointer
Pass a pointer to the EclipseGrid to CpGrid::processEclipseGrid.
This commit is contained in:
commit
68272d5861
@ -180,7 +180,7 @@ protected:
|
|||||||
// create the EQUIL grid
|
// create the EQUIL grid
|
||||||
/////
|
/////
|
||||||
equilGrid_ = new EquilGrid();
|
equilGrid_ = new EquilGrid();
|
||||||
equilGrid_->processEclipseFormat(this->eclState().getInputGrid(),
|
equilGrid_->processEclipseFormat(&(this->eclState().getInputGrid()),
|
||||||
/*isPeriodic=*/false,
|
/*isPeriodic=*/false,
|
||||||
/*flipNormals=*/false,
|
/*flipNormals=*/false,
|
||||||
/*clipZ=*/false,
|
/*clipZ=*/false,
|
||||||
|
@ -265,7 +265,7 @@ protected:
|
|||||||
const std::vector<double>& porv = gridProps.getDoubleGridProperty("PORV").getData();
|
const std::vector<double>& porv = gridProps.getDoubleGridProperty("PORV").getData();
|
||||||
#endif
|
#endif
|
||||||
grid_.reset(new Dune::CpGrid());
|
grid_.reset(new Dune::CpGrid());
|
||||||
grid_->processEclipseFormat(this->eclState().getInputGrid(),
|
grid_->processEclipseFormat(&(this->eclState().getInputGrid()),
|
||||||
/*isPeriodic=*/false,
|
/*isPeriodic=*/false,
|
||||||
/*flipNormals=*/false,
|
/*flipNormals=*/false,
|
||||||
/*clipZ=*/false,
|
/*clipZ=*/false,
|
||||||
|
Loading…
Reference in New Issue
Block a user