PCGetType#

Gets the PCType (as a string) from the PC context.

Synopsis#

#include "petscpc.h" 
PetscErrorCode PCGetType(PC pc, PCType *type)

Not Collective

Input Parameter#

  • pc - the preconditioner context

Output Parameter#

  • type - name of preconditioner method

See Also#

KSP: Linear System Solvers, PC, PCType, PCSetType()

Level#

intermediate

Location#

src/ksp/pc/interface/pcset.c

Examples#

src/ksp/ksp/tutorials/ex87.c


Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages