mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Set small alq to zero
This commit is contained in:
committed by
Tor Harald Sandve
parent
30259aca87
commit
29cb332f72
@@ -204,7 +204,7 @@ addOrSubtractAlqIncrement_(Scalar alq, bool increase) const
|
|||||||
limited = true;
|
limited = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (alq < 0) {
|
if (alq < 1e-12) {
|
||||||
alq = 0.0;
|
alq = 0.0;
|
||||||
limited = true;
|
limited = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user