mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 11:05:34 -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
|
||||
/////
|
||||
equilGrid_ = new EquilGrid();
|
||||
equilGrid_->processEclipseFormat(this->eclState().getInputGrid(),
|
||||
equilGrid_->processEclipseFormat(&(this->eclState().getInputGrid()),
|
||||
/*isPeriodic=*/false,
|
||||
/*flipNormals=*/false,
|
||||
/*clipZ=*/false,
|
||||
|
@ -265,7 +265,7 @@ protected:
|
||||
const std::vector<double>& porv = gridProps.getDoubleGridProperty("PORV").getData();
|
||||
#endif
|
||||
grid_.reset(new Dune::CpGrid());
|
||||
grid_->processEclipseFormat(this->eclState().getInputGrid(),
|
||||
grid_->processEclipseFormat(&(this->eclState().getInputGrid()),
|
||||
/*isPeriodic=*/false,
|
||||
/*flipNormals=*/false,
|
||||
/*clipZ=*/false,
|
||||
|
Loading…
Reference in New Issue
Block a user