Fixes in solvent model related to handling vapoil in the well model
This PR copies computeWellFlux(...) and Opm::WellDensitySegmented::computeConnectionDensities(...)
and removes solvent from the gas phase before it is multiplied with the rv values. It is possible to avoid some of the copying, but that would require interface changes that effects all other well models. I plan to revisit the well model for the solvent model when implementing the solvent model using Evaluation class.
In addition it fixes a bug in the relperm manipulation by removing the special treatment for the no Oil situation in the gas relperm.
Tested on SPE5 and Model2
I get uneasy about the large amount of copying, especially since it makes it very hard to see what are the (supposedly minor) differences between the original and the modified copy. Still: if you are comfortable with taking on this additional technical debt, I'll merge it.
Before we do that: could you briefly describe the needed changes? Perhaps the refactoring is sufficiently small that we should do it anyway?
> Before we do that: could you briefly describe the needed changes? Perhaps the refactoring is sufficiently small that we should do it anyway?
I started with the refactoring see #973 with comments.