mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
committed by
Pål Grønås Drange
parent
18f6672df0
commit
07fec302f4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user