Removed unappropriate conversion from water saturation to complete saturation.

This commit is contained in:
Xavier Raynaud 2012-09-04 14:22:56 +02:00
parent 876d23942c
commit ff78e358f0

View File

@ -522,9 +522,7 @@ namespace Opm
cells[c] = c;
}
mob_.resize(2*nc);
std::vector<double> boths;
Opm::toBothSat(saturation, boths);
props_.relperm(cells.size(), &boths[0], &cells[0], &mob_[0], 0);
props_.relperm(cells.size(), &saturation[0], &cells[0], &mob_[0], 0);
props_.viscosity(props_.numCells(), pressure, NULL, &allcells_[0], &visc_[0], NULL);
for (int c = 0; c < nc; ++c) {