Cherry-pick Atgeirr's Remove Deck parameter patch

Remove Deck parameter from GridInit constructor.

Possible because we now use the EclipseGrid-taking
overload of processEclipseFormat() for CpGrid.
This commit is contained in:
Atgeirr Flø Rasmussen
2016-04-20 14:55:01 +02:00
committed by Pål Grønås Drange
parent 18f6672df0
commit 07fec302f4
2 changed files with 5 additions and 5 deletions

View File

@@ -424,7 +424,7 @@ namespace Opm
// Create grid.
const std::vector<double>& porv =
eclipse_state_->get3DProperties().getDoubleGridProperty("PORV").getData();
grid_init_.reset(new GridInit<Grid>(deck_, eclipse_state_, porv));
grid_init_.reset(new GridInit<Grid>(eclipse_state_, porv));
const Grid& grid = grid_init_->grid();
// Create material law manager.