specify the number of iterations where we use a "strict" Newton convergence criterion using a separate parameter

that parameter is called "max_strict_iter". This increases the
flexibility of this slightly and it avoids screwing up the default
value for the "max_iter" parameter in the future. The credits for this
patch go to [at]atgeirr for proposing it.
This commit is contained in:
Andreas Lauser
2017-06-13 15:55:19 +02:00
parent 0304183361
commit e3d0bbc144
3 changed files with 4 additions and 4 deletions

View File

@@ -56,8 +56,8 @@ namespace Opm
/// for solving for the Jacobian
double maxSinglePrecisionTimeStep_;
/// Maximum number of Newton iterations before we give up
int max_iter_;
/// Maximum number of Newton iterations before we give up on the CNV convergence criterion
int max_strict_iter_;
/// Solve well equation initially
bool solve_welleq_initially_;