petsc-3.7.3 2016-07-24
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   KSPCGNE       "cgne"
    #define   KSPNASH       "nash"
    #define   KSPSTCG       "stcg"
    #define   KSPGLTR       "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 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"

### See Also

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

Level:beginner
Location: src/ksp/ksp/../../../include/petscksp.h
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages