mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Always use the reduction of the maximum of the weighted residual as convergence criterion
This should make things a much more robust, partially because now the linear and the non-linear solvers use the same convergence criterion. Also, this patch includes some collateral indentation improvements.
This commit is contained in:
@@ -55,7 +55,7 @@ SET_TYPE_PROP(
|
||||
#if HAVE_QUAD
|
||||
SET_TYPE_PROP(Co2InjectionFlashEcfvProblem, Scalar, quad);
|
||||
#else
|
||||
SET_SCALAR_PROP(Co2InjectionFlashEcfvProblem, NewtonRelativeTolerance, 1e-5);
|
||||
SET_SCALAR_PROP(Co2InjectionFlashEcfvProblem, NewtonTolerance, 1e-5);
|
||||
#endif
|
||||
} // namespace Properties
|
||||
} // namespace Opm
|
||||
|
||||
Reference in New Issue
Block a user