Increase max iterations for capillary curve inversion.

Triggered by a new two-phase case.
This commit is contained in:
Atgeirr Flø Rasmussen 2017-01-06 15:24:08 +01:00
parent d81c150bae
commit c57ed2f32c

View File

@ -734,7 +734,7 @@ namespace Opm
} else if (f1 > 0.0) { } else if (f1 > 0.0) {
return s1; return s1;
} else { } else {
const int max_iter = 30; const int max_iter = 60;
const double tol = 1e-6; const double tol = 1e-6;
int iter_used = -1; int iter_used = -1;
typedef RegulaFalsi<ThrowOnError> ScalarSolver; typedef RegulaFalsi<ThrowOnError> ScalarSolver;