petsc-3.14.5 2021-03-03
Report Typos and Errors

# SNESType

String with the name of a PETSc SNES method.

### Synopsis

    typedef const char* SNESType;
    #define SNESNEWTONLS         "newtonls"
    #define SNESNEWTONTR         "newtontr"
    #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

SNESSetType(), SNES, SNESCreate(), SNESDestroy(), SNESSetFromOptions()

### Level

beginner

### Location

src/snes/../../include/petscsnes.h
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages