adapt the the table related API changes of opm-parser

This commit is contained in:
Andreas Lauser
2014-09-17 13:28:39 +02:00
parent 8ee9cf1342
commit 9fbf4b2b3b
3 changed files with 13 additions and 17 deletions

View File

@@ -109,7 +109,7 @@ try
// check_well_controls = param.getDefault("check_well_controls", false);
// max_well_control_iterations = param.getDefault("max_well_control_iterations", 10);
// Rock compressibility.
rock_comp.reset(new RockCompressibility(deck));
rock_comp.reset(new RockCompressibility(deck, eclipseState));
// Gravity.
gravity[2] = deck->hasKeyword("NOGRAV") ? 0.0 : unit::gravity;
// Init state variables (saturation and pressure).
@@ -120,7 +120,7 @@ try
}
initBlackoilSurfvol(*grid->c_grid(), *props, state);
// Init polymer properties.
poly_props.readFromDeck(deck);
poly_props.readFromDeck(eclipseState);
} else {
// Grid init.
const int nx = param.getDefault("nx", 100);