mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removed unappropriate conversion from water saturation to complete saturation.
This commit is contained in:
parent
876d23942c
commit
ff78e358f0
@ -522,9 +522,7 @@ namespace Opm
|
|||||||
cells[c] = c;
|
cells[c] = c;
|
||||||
}
|
}
|
||||||
mob_.resize(2*nc);
|
mob_.resize(2*nc);
|
||||||
std::vector<double> boths;
|
props_.relperm(cells.size(), &saturation[0], &cells[0], &mob_[0], 0);
|
||||||
Opm::toBothSat(saturation, boths);
|
|
||||||
props_.relperm(cells.size(), &boths[0], &cells[0], &mob_[0], 0);
|
|
||||||
|
|
||||||
props_.viscosity(props_.numCells(), pressure, NULL, &allcells_[0], &visc_[0], NULL);
|
props_.viscosity(props_.numCells(), pressure, NULL, &allcells_[0], &visc_[0], NULL);
|
||||||
for (int c = 0; c < nc; ++c) {
|
for (int c = 0; c < nc; ++c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user