petsc-3.13.6 2020-09-29
Report Typos and Errors

PCDestroy

Destroys PC context that was created with PCCreate().

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCDestroy(PC *pc)
Collective on PC

Input Parameter

pc -the preconditioner context

See Also

PCCreate(), PCSetUp()

Level

developer

Location

src/ksp/pc/interface/precon.c

Examples

src/ksp/ksp/tutorials/ex59.c.html

Implementations

PCDestroy_ASM in src/ksp/pc/impls/asm/asm.c
PCDestroy_BDDC in src/ksp/pc/impls/bddc/bddc.c
PCDestroy_BDDCIPC in src/ksp/pc/impls/bddc/bddc.c
PCDestroy_BJacobi in src/ksp/pc/impls/bjacobi/bjacobi.c
PCDestroy_BJacobi_Singleblock in src/ksp/pc/impls/bjacobi/bjacobi.c
PCDestroy_BJacobi_Multiblock in src/ksp/pc/impls/bjacobi/bjacobi.c
PCDestroy_BJacobi_Multiproc in src/ksp/pc/impls/bjacobi/bjacobi.c
PCDestroy_CHOWILUVIENNACL in src/ksp/pc/impls/chowiluviennacl/chowiluviennacl.cxx
PCDestroy_Composite in src/ksp/pc/impls/composite/composite.c
PCDestroy_CP in src/ksp/pc/impls/cp/cp.c
PCDestroy_Deflation in src/ksp/pc/impls/deflation/deflation.c
PCDestroy_Eisenstat in src/ksp/pc/impls/eisens/eisen.c
PCDestroy_Cholesky in src/ksp/pc/impls/factor/cholesky/cholesky.c
PCDestroy_ICC in src/ksp/pc/impls/factor/icc/icc.c
PCDestroy_ILU in src/ksp/pc/impls/factor/ilu/ilu.c
PCDestroy_LU in src/ksp/pc/impls/factor/lu/lu.c
PCDestroy_FieldSplit in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCDestroy_Galerkin in src/ksp/pc/impls/galerkin/galerkin.c
PCDestroy_GAMG_AGG in src/ksp/pc/impls/gamg/agg.c
PCDestroy_GAMG in src/ksp/pc/impls/gamg/gamg.c
PCDestroy_GAMG_GEO in src/ksp/pc/impls/gamg/geo.c
PCDestroy_GASM in src/ksp/pc/impls/gasm/gasm.c
PCDestroy_HMG in src/ksp/pc/impls/hmg/hmg.c
PCDestroy_HPDDM in src/ksp/pc/impls/hpddm/hpddm.cxx
PCDestroy_HYPRE in src/ksp/pc/impls/hypre/hypre.c
PCDestroy_PFMG in src/ksp/pc/impls/hypre/hypre.c
PCDestroy_SysPFMG in src/ksp/pc/impls/hypre/hypre.c
PCDestroy_NN in src/ksp/pc/impls/is/nn/nn.c
PCDestroy_Jacobi in src/ksp/pc/impls/jacobi/jacobi.c
PCDestroy_Kaczmarz in src/ksp/pc/impls/kaczmarz/kaczmarz.c
PCDestroy_KSP in src/ksp/pc/impls/ksp/pcksp.c
PCDestroy_LMVM in src/ksp/pc/impls/lmvm/lmvmpc.c
PCDestroy_LSC in src/ksp/pc/impls/lsc/lsc.c
PCDestroy_Mat in src/ksp/pc/impls/mat/pcmat.c
PCDestroy_MG in src/ksp/pc/impls/mg/mg.c
PCDestroy_ML in src/ksp/pc/impls/ml/ml.c
PCDestroy_PARMS in src/ksp/pc/impls/parms/parms.c
PCDestroy_PATCH_Linear in src/ksp/pc/impls/patch/pcpatch.c
PCDestroy_PATCH in src/ksp/pc/impls/patch/pcpatch.c
PCDestroy_PBJacobi in src/ksp/pc/impls/pbjacobi/pbjacobi.c
PCDestroy_Redistribute in src/ksp/pc/impls/redistribute/redistribute.c
PCDestroy_Redundant in src/ksp/pc/impls/redundant/redundant.c
PCDestroy_ROWSCALINGVIENNACL in src/ksp/pc/impls/rowscalingviennacl/rowscalingviennacl.cxx
PCDestroy_SAVIENNACL in src/ksp/pc/impls/saviennacl/saviennacl.cxx
PCDestroy_Shell in src/ksp/pc/impls/shell/shellpc.c
PCDestroy_SOR in src/ksp/pc/impls/sor/sor.c
PCDestroy_SPAI in src/ksp/pc/impls/spai/ispai.c
PCDestroy_SVD in src/ksp/pc/impls/svd/svd.c
PCDestroy_Telescope in src/ksp/pc/impls/telescope/telescope.c
PCDestroy_TFS in src/ksp/pc/impls/tfs/tfs.c
PCDestroy_VPBJacobi in src/ksp/pc/impls/vpbjacobi/vpbjacobi.c
PCDestroy_Exotic in src/ksp/pc/impls/wb/wb.c
PCDestroy_PATCH_Nonlinear in src/snes/impls/patch/snespatch.c

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