mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 17:26:27 -06:00
equil init: reduce the tolerance of the regula falsi solvers to 1e-10
This commit is contained in:
parent
2f00e7804a
commit
794fc3f588
@ -675,7 +675,7 @@ double satFromPc(const MaterialLawManager& materialLawManager,
|
||||
assert(f0 > 0 && f1 < 0);
|
||||
|
||||
const int maxIter = 60;
|
||||
const double tol = 1e-6;
|
||||
const double tol = 1e-10;
|
||||
|
||||
// regula falsi with the "Pegasus" method to avoid stagnation
|
||||
for (int iter = 0; iter < maxIter; ++ iter) {
|
||||
@ -784,7 +784,7 @@ double satFromSumOfPcs(const MaterialLawManager& materialLawManager,
|
||||
assert(f0 > 0.0 && f1 < 0.0);
|
||||
|
||||
const int maxIter = 60;
|
||||
const double tol = 1e-6;
|
||||
const double tol = 1e-10;
|
||||
|
||||
// regula falsi with the "Pegasus" method to avoid stagnation
|
||||
for (int iter = 0; iter < maxIter; ++ iter) {
|
||||
|
Loading…
Reference in New Issue
Block a user