# PCType

String with the name of a PETSc preconditioner method or the creation function with an optional dynamic library name, for example http://www.mcs.anl.gov/petsc/lib.a:mypccreate()

### Synopsis

    #define PCNONE            "none"
    #define PCJACOBI          "jacobi"
    #define PCSOR             "sor"
    #define PCLU              "lu"
    #define PCSHELL           "shell"
    #define PCBJACOBI         "bjacobi"
    #define PCMG              "mg"
    #define PCEISENSTAT       "eisenstat"
    #define PCILU             "ilu"
    #define PCICC             "icc"
    #define PCASM             "asm"
    #define PCKSP             "ksp"
    #define PCCOMPOSITE       "composite"
    #define PCREDUNDANT       "redundant"
    #define PCSPAI            "spai"
    #define PCNN              "nn"
    #define PCCHOLESKY        "cholesky"
    #define PCSAMG            "samg"
    #define PCPBJACOBI        "pbjacobi"
    #define PCMAT             "mat"
    #define PCHYPRE           "hypre"
    #define PCFIELDSPLIT      "fieldsplit"
    #define PCTFS             "tfs"
    #define PCML              "ml"
    #define PCPROMETHEUS      "prometheus"

    /* Logging support */
    extern PetscCookie PETSCKSP_DLLEXPORT PC_COOKIE;

Notes: Click on the links below to see details on a particular solver

### See Also

PCSetType(), PC, PCCreate()

Level:beginner
Location:src/ksp/pc/../../../include/petscpc.h
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages