From: michael Date: Mon, 17 May 2021 08:31:34 +0000 (+0200) Subject: Added more options for the nonlinear solver X-Git-Tag: V9_7_0~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3c90273953296370f57b930b9bf7a986c9e8e465;p=tools%2Fsolverlab.git Added more options for the nonlinear solver --- diff --git a/CoreFlows/Models/inc/ProblemCoreFlows.hxx b/CoreFlows/Models/inc/ProblemCoreFlows.hxx index 2b1116a..253e1be 100755 --- a/CoreFlows/Models/inc/ProblemCoreFlows.hxx +++ b/CoreFlows/Models/inc/ProblemCoreFlows.hxx @@ -60,6 +60,10 @@ enum nonLinearSolver { Newton_SOLVERLAB,/**< nonLinearSolver is Newton_SOLVERLAB */ Newton_PETSC_LINESEARCH,/**< nonLinearSolver is Newton_PETSC_LINESEARCH */ + Newton_PETSC_LINESEARCH_BASIC,/**< nonLinearSolver is Newton_PETSC_LINESEARCH_BASIC */ + Newton_PETSC_LINESEARCH_BT,/**< nonLinearSolver is Newton_PETSC_LINESEARCH_BT */ + Newton_PETSC_LINESEARCH_SECANT,/**< nonLinearSolver is Newton_PETSC_LINESEARCH_SECANT */ + Newton_PETSC_LINESEARCH_NLEQERR,/**< nonLinearSolver is Newton_PETSC_LINESEARCH_LEQERR */ Newton_PETSC_TRUSTREGION,/**< nonLinearSolver is Newton_PETSC_TRUSTREGION */ Newton_PETSC_NGMRES,/**< nonLinearSolver is Newton_PETSC_NGMRES */ Newton_PETSC_ASPIN/**< nonLinearSolver is Newton_PETSC_ASPIN */ @@ -89,7 +93,7 @@ public : ProblemCoreFlows(); virtual ~ProblemCoreFlows(); - // -*-*-*- Gestion du calcul (interface ICoCo -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* + // -*-*-*- Gestion du calcul (interface ICoCo) -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* /** \fn initialize * \brief Alloue la mémoire et vérifie que le maillage et les conditions limites/initiales sont bien définis @@ -711,6 +715,7 @@ protected : string _path;//path to execution directory used for saving results saveFormat _saveFormat;//file saving format : MED, VTK or CSV + }; #endif /* PROBLEMCOREFLOWS_HXX_ */