OPM/opm-core — pull request #38 by atgeirr (2012-10-02 12:51:42+00:00)
Title: Changing transport source convention

This changes the two-phase transport source convention for the compressible case.
The old convention was:
* negative numbers (sinks) are interpreted as total reservoir volumes,
* positive numbers (sources) are interpreted as water reservoir volumes.

This is still the convention used for incompressible flow.

The new convention is:
* negative numbers (sinks) are interpreted as total reservoir volumes,
* positive numbers (sources) are interpreted as water _surface_ volumes.

To implement this, a new overload of computeTransportSource() has been added, it is called from the simulator, and TransportModelCompressibleTwophase has been slightly modified.

Some other changes in this merge:
* Add perfPress() to WellState (used to implement the above change, meaning that now, perforation pressure sets the formation volume factors for the perforation flow).
* Increase output precision of ascii dumps.
* Function computeInjectedProduced() for the compressible case has been modified to use the new transport source convention.