SNESType#

String with the name of a PETSc SNES method.

Synopsis#

typedef const char *SNESType;
#define SNESNEWTONLS         "newtonls"
#define SNESNEWTONTR         "newtontr"
#define SNESNEWTONTRDC       "newtontrdc"
#define SNESPYTHON           "python"
#define SNESNRICHARDSON      "nrichardson"
#define SNESKSPONLY          "ksponly"
#define SNESKSPTRANSPOSEONLY "ksptransposeonly"
#define SNESVINEWTONRSLS     "vinewtonrsls"
#define SNESVINEWTONSSLS     "vinewtonssls"
#define SNESNGMRES           "ngmres"
#define SNESQN               "qn"
#define SNESSHELL            "shell"
#define SNESNGS              "ngs"
#define SNESNCG              "ncg"
#define SNESFAS              "fas"
#define SNESMS               "ms"
#define SNESNASM             "nasm"
#define SNESANDERSON         "anderson"
#define SNESASPIN            "aspin"
#define SNESCOMPOSITE        "composite"
#define SNESPATCH            "patch"

See Also#

Summary of Nonlinear Solvers Available In PETSc, SNES: Nonlinear Solvers, SNESSetType(), SNES, SNESCreate(), SNESDestroy(), SNESSetFromOptions()

Level#

beginner

Location#

include/petscsnes.h

Examples#

src/snes/tutorials/ex3.c


Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages