PCApply#

Applies the preconditioner to a vector.

Synopsis#

#include "petscksp.h" 
PetscErrorCode PCApply(PC pc, Vec x, Vec y)

Collective

Input Parameters#

  • pc - the preconditioner context

  • x - input vector

Output Parameter#

  • y - output vector

See Also#

KSP: Linear System Solvers, PC, PCApplyTranspose(), PCApplyBAorAB()

Level#

developer

Location#

src/ksp/pc/interface/precon.c

Examples#

src/ksp/pc/tutorials/ex4.c

Implementations#

PCApply_AMGX() in src/ksp/pc/impls/amgx/amgx.cxx
PCApply_ASM() in src/ksp/pc/impls/asm/asm.c
PCApply_BDDC() in src/ksp/pc/impls/bddc/bddc.c
PCApply_BDDCIPC() in src/ksp/pc/impls/bddc/bddc.c
PCApply_BJKOKKOS() in src/ksp/pc/impls/bjacobi/bjkokkos/bjkokkos.kokkos.cxx
PCApply_BJKOKKOSKERNELS() in src/ksp/pc/impls/bjacobi/bjkokkos/bjkokkoskernels.kokkos.cxx
PCApply_CHOWILUVIENNACL() in src/ksp/pc/impls/chowiluviennacl/chowiluviennacl.cxx
PCApply_CP() in src/ksp/pc/impls/cp/cp.c
PCApply_Deflation() in src/ksp/pc/impls/deflation/deflation.c
PCApply_Eisenstat() in src/ksp/pc/impls/eisens/eisen.c
PCApply_Cholesky() in src/ksp/pc/impls/factor/cholesky/cholesky.c
PCApply_ICC() in src/ksp/pc/impls/factor/icc/icc.c
PCApply_ILU() in src/ksp/pc/impls/factor/ilu/ilu.c
PCApply_LU() in src/ksp/pc/impls/factor/lu/lu.c
PCApply_QR() in src/ksp/pc/impls/factor/qr/qr.c
PCApply_FieldSplit() in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCApply_Galerkin() in src/ksp/pc/impls/galerkin/galerkin.c
PCApply_GASM() in src/ksp/pc/impls/gasm/gasm.c
PCApply_H2OPUS() in src/ksp/pc/impls/h2opus/pch2opus.c
PCApply_HPDDM() in src/ksp/pc/impls/hpddm/pchpddm.cxx
PCApply_HPDDMShell() in src/ksp/pc/impls/hpddm/pchpddm.cxx
PCApply_Schur() in src/ksp/pc/impls/hpddm/pchpddm.cxx
PCApply_Nest() in src/ksp/pc/impls/hpddm/pchpddm.cxx
PCApply_HYPRE() in src/ksp/pc/impls/hypre/hypre.c
PCApply_PFMG() in src/ksp/pc/impls/hypre/hypre.c
PCApply_SysPFMG() in src/ksp/pc/impls/hypre/hypre.c
PCApply_SMG() in src/ksp/pc/impls/hypre/hypre.c
PCApply_NN() in src/ksp/pc/impls/is/nn/nn.c
PCApply_Jacobi() in src/ksp/pc/impls/jacobi/jacobi.c
PCApply_Kaczmarz() in src/ksp/pc/impls/kaczmarz/kaczmarz.c
PCApply_KSP() in src/ksp/pc/impls/ksp/pcksp.c
PCApply_LMVM() in src/ksp/pc/impls/lmvm/lmvmpc.c
PCApply_LSC() in src/ksp/pc/impls/lsc/lsc.c
PCApply_Mat() in src/ksp/pc/impls/mat/pcmat.c
PCApply_MG() in src/ksp/pc/impls/mg/mg.c
PCApply_Seq() in src/ksp/pc/impls/mpi/pcmpi.c
PCApply_MPI() in src/ksp/pc/impls/mpi/pcmpi.c
PCApply_None() in src/ksp/pc/impls/none/none.c
PCApply_PARMS() in src/ksp/pc/impls/parms/parms.c
PCApply_PATCH() in src/ksp/pc/impls/patch/pcpatch.c
PCApply_PBJacobi() in src/ksp/pc/impls/pbjacobi/pbjacobi.c
PCApply_Redistribute() in src/ksp/pc/impls/redistribute/redistribute.c
PCApply_Redundant() in src/ksp/pc/impls/redundant/redundant.c
PCApply_ROWSCALINGVIENNACL() in src/ksp/pc/impls/rowscalingviennacl/rowscalingviennacl.cxx
PCApply_SAVIENNACL() in src/ksp/pc/impls/saviennacl/saviennacl.cxx
PCApply_Shell() in src/ksp/pc/impls/shell/shellpc.c
PCApply_SOR() in src/ksp/pc/impls/sor/sor.c
PCApply_SPAI() in src/ksp/pc/impls/spai/ispai.c
PCApply_SVD() in src/ksp/pc/impls/svd/svd.c
PCApply_Telescope() in src/ksp/pc/impls/telescope/telescope.c
PCApply_VPBJacobi() in src/ksp/pc/impls/vpbjacobi/vpbjacobi.c


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