Using getInputGrid API from Parser, changed GridManager to no longer accept Deck in constructor

This commit is contained in:
Pål Grønås Drange
2016-04-19 17:00:01 +02:00
parent dcd45ba397
commit 75936c1d9c
8 changed files with 34 additions and 16 deletions

View File

@@ -390,7 +390,7 @@ WellsManager::init(const Opm::EclipseStateConstPtr eclipseState,
DoubleArray ntg_glob(eclipseState, "NTG", 1.0);
NTGArray ntg(ntg_glob, global_cell);
EclipseGridConstPtr eclGrid = eclipseState->getEclipseGrid();
EclipseGridConstPtr eclGrid = eclipseState->getInputGrid();
// use cell thickness (dz) from eclGrid
// dz overwrites values calculated by WellDetails::getCubeDim