mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user