petsc-3.10.5 2019-03-28
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 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"

### 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