mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BUGFIX. Store soMax also for the solvent model
This commit is contained in:
parent
431abb0012
commit
ac36ad5ad1
@ -553,6 +553,8 @@ namespace Opm {
|
|||||||
rv = rv.max(zero);
|
rv = rv.max(zero);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sd_.soMax = fluid_.satOilMax();
|
||||||
|
|
||||||
// Sg is used as primal variable for water only cells.
|
// Sg is used as primal variable for water only cells.
|
||||||
const double epsilon = std::sqrt(std::numeric_limits<double>::epsilon());
|
const double epsilon = std::sqrt(std::numeric_limits<double>::epsilon());
|
||||||
auto watOnly = sw > (1 - epsilon);
|
auto watOnly = sw > (1 - epsilon);
|
||||||
|
Loading…
Reference in New Issue
Block a user