From 2c8a63fc3d14de9b9f3efa3ec41782a1bda2d217 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Wed, 19 Oct 2022 21:03:52 +0200 Subject: [PATCH] Use consistent NewtonMaxIteration usage string. Needed to prevent an exception. Apparently both the value and usage sting must match each time we register a parameter no matter whether the template parameters differs or not. --- opm/simulators/flow/NonlinearSolverEbos.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/flow/NonlinearSolverEbos.hpp b/opm/simulators/flow/NonlinearSolverEbos.hpp index c37245b1f..22bea67bf 100644 --- a/opm/simulators/flow/NonlinearSolverEbos.hpp +++ b/opm/simulators/flow/NonlinearSolverEbos.hpp @@ -129,7 +129,7 @@ class WellState; static void registerParameters() { EWOMS_REGISTER_PARAM(TypeTag, Scalar, NewtonMaxRelax, "The maximum relaxation factor of a Newton iteration used by flow"); - EWOMS_REGISTER_PARAM(TypeTag, int, NewtonMaxIterations, "The maximum number of Newton iterations per time step used by flow"); + EWOMS_REGISTER_PARAM(TypeTag, int, NewtonMaxIterations, "The maximum number of Newton iterations per time step"); EWOMS_REGISTER_PARAM(TypeTag, int, NewtonMinIterations, "The minimum number of Newton iterations per time step used by flow"); EWOMS_REGISTER_PARAM(TypeTag, std::string, NewtonRelaxationType, "The type of relaxation used by flow's Newton method"); }