Added class SinglePvtDead, add parameter 'props_use_spline' to simulators.

Recall that the class that used to be called SinglePvtDead has
been renamed to SinglePvtDeadSpline. If 'props_use_spline' is true,
that class is used (this is the default), which makes a monotone
spline that is uniformly, densely sampled. The new class simply
uses linear interpolation in the input tables.
This commit is contained in:
Atgeirr Flø Rasmussen 2012-08-27 16:48:21 +02:00
parent ba042c7241
commit 77270f4a25

View File

@ -94,7 +94,8 @@ main(int argc, char** argv)
// Grid init
grid.reset(new GridManager(*deck));
// Rock and fluid init
props.reset(new BlackoilPropertiesFromDeck(*deck, *grid->c_grid()));
bool props_use_spline = param.getDefault("props_use_spline", true);
props.reset(new BlackoilPropertiesFromDeck(*deck, *grid->c_grid(), props_use_spline));
// check_well_controls = param.getDefault("check_well_controls", false);
// max_well_control_iterations = param.getDefault("max_well_control_iterations", 10);
// Rock compressibility.