OPM/opm-core — pull request #25 by atgeirr (2012-09-04 13:44:37+00:00)
Title: Nonuniform fluid tables

Allow user control of interpolation of some fluid data.
Before this change, saturation properties and dead-oil pvt tables (only)
were not directly linearly interpolated in the input data, but uniformly sampled from a
smooth monotone spline fit of the input data. This is still the default behaviour, but
the user may use override the default number of samples, and by specifying 0 samples
we instead directly interpolate in the input data. This is done with the parameters
pvt_tab_size and sat_tab_size for pvt and saturation data, respectively.

Another change is that we have run-time control over which three-phase model to use, controlled by the parameter threephase_model, accepting the input "stone2" or "simple".

These features apply only (so far) to the class BlackoilPropertiesFromDeck, but should be extended to IncompPropertiesFromDeck in the future.

Unfortunately, there is a lot of copied code between the SatFunc* classes, this should probably be refactored at some point.