From e1ac4c15d67b30ddeadfcd49f182f23d83b8aa06 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Wed, 19 Oct 2022 21:34:24 +0200 Subject: [PATCH] Use flow's default for NewtonMaxIterations here. Unfortunately, each registration of a parameter has to be done with the exact value and usage string or an exception will be thrown. --- opm/models/nonlinear/newtonmethod.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/models/nonlinear/newtonmethod.hh b/opm/models/nonlinear/newtonmethod.hh index 5009e4b59..b1f35bed4 100644 --- a/opm/models/nonlinear/newtonmethod.hh +++ b/opm/models/nonlinear/newtonmethod.hh @@ -94,7 +94,7 @@ struct NewtonMaxError template struct NewtonTargetIterations { static constexpr int value = 10; }; template -struct NewtonMaxIterations { static constexpr int value = 18; }; +struct NewtonMaxIterations { static constexpr int value = 20; }; } // namespace Opm::Properties