PCDestroy#

Destroys PC context that was created with PCCreate().

Synopsis#

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

Collective

Input Parameter#

  • pc - the preconditioner context

See Also#

PC, PCCreate(), PCSetUp()

Level#

developer

Location#

src/ksp/pc/interface/precon.c

Examples#

src/ksp/ksp/tutorials/ex59.c

Implementations#

PCDestroy_AMGX in src/ksp/pc/impls/amgx/amgx.cxx
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_BJKOKKOS in src/ksp/pc/impls/bjacobi/bjkokkos/bjkokkos.kokkos.cxx
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_QR in src/ksp/pc/impls/factor/qr/qr.c
PCDestroy_FieldSplit in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCDestroy_Galerkin in src/ksp/pc/impls/galerkin/galerkin.c
PCDestroy_GAMG in src/ksp/pc/impls/gamg/gamg.c
PCDestroy_GASM in src/ksp/pc/impls/gasm/gasm.c
PCDestroy_H2OPUS in src/ksp/pc/impls/h2opus/pch2opus.c
PCDestroy_HMG in src/ksp/pc/impls/hmg/hmg.c
PCDestroy_HPDDM in src/ksp/pc/impls/hpddm/pchpddm.cxx
PCDestroy_HPDDMShell in src/ksp/pc/impls/hpddm/pchpddm.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_SMG 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_Seq in src/ksp/pc/impls/mpi/pcmpi.c
PCDestroy_MPI in src/ksp/pc/impls/mpi/pcmpi.c
PCDestroy_PARMS in src/ksp/pc/impls/parms/parms.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


Edit on GitLab

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