From 27096f488ba80ee3acf9d479acee6503b317b407 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 23 Jun 2023 08:52:10 -0600 Subject: [PATCH] Advertise NonlinearSolverSelector in step-77. --- examples/step-77/doc/results.dox | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/examples/step-77/doc/results.dox b/examples/step-77/doc/results.dox index 8459cc9857..88e1cb378f 100644 --- a/examples/step-77/doc/results.dox +++ b/examples/step-77/doc/results.dox @@ -656,3 +656,15 @@ happen, let us simply point out that the test suite program necessary to use NOX instead of KINSOL are quite minimal; in particular, NOX (unlike SNES) is happy to work with deal.II's own vector and matrix classes. + + +

Replacing SUNDIALS' KINSOL by a generic nonlinear solver

+ +Having to choose which of these three frameworks (KINSOL, SNES, or NOX) +to use at compile time is cumbersome when wanting to compare things. It +would be nicer if one could decide the package to use at run time, assuming that one +has a copy of deal.II installed that is compiled against all three of these +dependencies. It turns out that this is possible, using the class +NonlinearSolverSelector that presents a common interface to all three of +these solvers, along with the ability to choose which one to use based +on run-time parameters. -- 2.39.5