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:
Andreas Lauser
2014-02-23 18:25:09 +01:00
parent 86bc13912d
commit 59a82a0a40
14 changed files with 399 additions and 399 deletions

View File

@@ -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