petsc-3.10.5 2019-03-28
Report Typos and Errors

# KSPType

String with the name of a PETSc Krylov method.

### Synopsis

    typedef const char* KSPType;
    #define KSPRICHARDSON "richardson"
    #define KSPCHEBYSHEV  "chebyshev"
    #define KSPCG         "cg"
    #define KSPGROPPCG    "groppcg"
    #define KSPPIPECG     "pipecg"
    #define KSPPIPECGRR   "pipecgrr"
    #define KSPPIPELCG     "pipelcg"
    #define   KSPCGNE       "cgne"
    #define   KSPCGNASH     "nash"
    #define   KSPCGSTCG     "stcg"
    #define   KSPCGGLTR     "gltr"
    #define KSPFCG        "fcg"
    #define KSPPIPEFCG    "pipefcg"
    #define KSPGMRES      "gmres"
    #define KSPPIPEFGMRES "pipefgmres"
    #define   KSPFGMRES     "fgmres"
    #define   KSPLGMRES     "lgmres"
    #define   KSPDGMRES     "dgmres"
    #define   KSPPGMRES     "pgmres"
    #define KSPTCQMR      "tcqmr"
    #define KSPBCGS       "bcgs"
    #define   KSPIBCGS      "ibcgs"
    #define   KSPFBCGS      "fbcgs"
    #define   KSPFBCGSR     "fbcgsr"
    #define   KSPBCGSL      "bcgsl"
    #define   KSPPIPEBCGS   "pipebcgs"
    #define KSPCGS        "cgs"
    #define KSPTFQMR      "tfqmr"
    #define KSPCR         "cr"
    #define KSPPIPECR     "pipecr"
    #define KSPLSQR       "lsqr"
    #define KSPPREONLY    "preonly"
    #define KSPQCG        "qcg"
    #define KSPBICG       "bicg"
    #define KSPMINRES     "minres"
    #define KSPSYMMLQ     "symmlq"
    #define KSPLCD        "lcd"
    #define KSPPYTHON     "python"
    #define KSPGCR        "gcr"
    #define KSPPIPEGCR    "pipegcr"
    #define KSPTSIRM      "tsirm"
    #define KSPCGLS       "cgls"
    #define KSPFETIDP     "fetidp"

### See Also

KSPSetType(), KSP, KSPRegister(), KSPCreate(), KSPSetFromOptions()

### Level

beginner

### Location

src/ksp/ksp/guess/../../../../include/petscksp.h
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages