petsc-3.5.1 2014-08-06
Report Typos and Errors

Preconditioners - PC: Examples

The Scalable Linear Equations Solvers (KSP) component provides an easy-to-use interface to the combination of a Krylov subspace iterative method and a preconditioner (in the KSP and PC components, respectively) or a sequential direct solver. KSP users can set various preconditioning options at runtime via the options database (e.g., -pc_type jacobi ). KSP users can also set PC options directly in application codes by first extracting the PC context from the KSP context via KSPGetPC() and then directly calling the PC routines listed below (e.g., PCSetType() ). PC components can be used directly to create and destroy solvers; this is not needed for users but is for library developers.

Beginner - Basic usage
PCASM PCGASMType PCMGType
PCASMType PC PCNONE
PCBJACOBI PCICC PCPBJACOBI
PCCHOLESKY PCILU PCSide
PCCompositeType PCJACOBI PCSOR
PCEISENSTAT PCKaczmarz PCSPAI
PCExoticType PCLU PCTFS
PCGASM PCMGCycleType PCType
Intermediate - Setting options for algorithms and data structures
PCASMGetDMSubdomains PCFactorSetZeroPivot PCHYPREGetType
PCASMSetDMSubdomains PCFieldSplitGetDiagUseAmat PCHYPRE
PCASMSetOverlap PCFieldSplitGetDMSplits PCHYPRESetType
PCASMSetSortIndices PCFieldSplitGetIS PCISSetSubdomainDiagonalScaling
PCASMSetType PCFieldSplitGetOffDiagUseAmat PCISSetSubdomainScalingFactor
PCBDDCGetDirichletBoundaries PCFieldSplitGetSchurPre PCISSetUseStiffnessScaling
PCBDDCGetDirichletBoundariesLocal PCFieldSplitGetType PCJacobiSetUseAbs
PCBDDCGetNeumannBoundaries PCFIELDSPLIT PCJacobiSetUseRowMax
PCBDDCGetNeumannBoundariesLocal PCFieldSplitSchurFactType PCJacobiSetUseRowSum
PCBDDC PCFieldSplitSchurPreType PCKSP
PCBDDCSetChangeOfBasisLocalMat PCFieldSplitSetBlockSize PCLoad
PCBDDCSetCoarseningRatio PCFieldSplitSetDiagUseAmat PCLSC
PCBDDCSetDirichletBoundaries PCFieldSplitSetDMSplits PCMAT
PCBDDCSetDirichletBoundariesLocal PCFieldSplitSetFields PCMGGetGalerkin
PCBDDCSetDofsSplitting PCFieldSplitSetIS PCMG
PCBDDCSetDofsSplittingLocal PCFieldSplitSetOffDiagUseAmat PCMGSetGalerkin
PCBDDCSetLevels PCFieldSplitSetSchurFactType PCMGSetLevels
PCBDDCSetLocalAdjacencyGraph PCFieldSplitSetSchurPre PCML
PCBDDCSetNeumannBoundaries PCFieldSplitSetType PCNN
PCBDDCSetNeumannBoundariesLocal PCGalerkinGetKSP PCPARMSGlobalType
PCBDDCSetNullSpace PCGALERKIN PCPARMS
PCBDDCSetPrimalVerticesLocalIS PCGalerkinSetInterpolation PCPARMSLocalType
PCBJacobiGetLocalBlocks PCGalerkinSetRestriction PCPARMSSetFill
PCBJacobiGetTotalBlocks PCGAMGClassicalSetType PCPARMSSetGlobal
PCBJacobiSetLocalBlocks PCGAMG PCPARMSSetLocal
PCBJacobiSetTotalBlocks PCGAMGSetCoarseEqLim PCPARMSSetNonsymPerm
PCCOMPOSITE PCGAMGSetNlevels PCPARMSSetSolveRestart
PCCP PCGAMGSetNSmooths PCPARMSSetSolveTolerances
PCDiagonalScaleLeft PCGAMGSetProcEqLim PCPythonSetType
PCDiagonalScaleRight PCGAMGSetRepartitioning PCREDISTRIBUTE
PCEisenstatNoDiagonalScaling PCGAMGSetReuseProl PCREDUNDANT
PCEisenstatSetOmega PCGAMGSetSquareGraph PCSetApplicationContext
PCExoticSetType PCGAMGSetSymGraph PCSetCoordinates
PCFactorGetLevels PCGAMGSetThreshold PCSetDiagonalScale
PCFactorGetMatSolverPackage PCGAMGSetType PCSetDM
PCFactorReorderForNonzeroDiagonal PCGAMGSetUseASMAggs PCSetOperators
PCFactorSetAllowDiagonalFill PCGAMGType PCSetType
PCFactorSetColumnPivot PCGASMDestroySubdomains PCSetUseAmat
PCFactorSetFill PCGASMGetDMSubdomains PCSORSetIterations
PCFactorSetLevels PCGASMSetDMSubdomains PCSORSetOmega
PCFactorSetMatOrderingType PCGASMSetOverlap PCSORSetSymmetric
PCFactorSetMatSolverPackage PCGASMSetSortIndices PCSPAISetBlockSize
PCFactorSetPivotInBlocks PCGASMSetType PCSPAISetCacheSize
PCFactorSetReuseFill PCGetApplicationContext PCSPAISetEpsilon
PCFactorSetReuseOrdering PCGetDM PCSPAISetMax
PCFactorSetShiftAmount PCGetOperators PCSPAISetMaxNew
PCFactorSetShiftType PCGetOperatorsSet PCSPAISetNBSteps
PCFactorSetUpMatSolverPackage PCGetType PCSPAISetSp
PCFactorSetUseInPlace PCGetUseAmat PCSPAISetVerbose
Advanced - Setting more advanced options and customization
PCAINVCUSP PCGASMGetSubmatrices PCMGSetR
PCAppendOptionsPrefix PCGASMSetSubdomains PCMGSetRScale
PCASMCreateSubdomains2D PCGASMSetTotalSubdomains PCMGSetType
PCASMCreateSubdomains PCGetOptionsPrefix PCMGSetX
PCASMDestroySubdomains PCKSPGetKSP PCPFMG
PCASMGetLocalSubdomains PCMGGetCoarseSolve PCRedistributeGetKSP
PCASMGetLocalSubmatrices PCMGGetInterpolation PCRedundantGetKSP
PCASMGetSubKSP PCMGGetLevels PCRedundantGetOperators
PCASMSetLocalSubdomains PCMGGetRestriction PCRedundantSetNumber
PCASMSetTotalSubdomains PCMGGetRScale PCRedundantSetScatter
PCBJacobiGetSubKSP PCMGGetSmootherDown PCRegisterAll
PCComputeExplicitOperator PCMGGetSmoother PCRegister
PCEXOTIC PCMGGetSmootherUp PCRichardsonConvergedReason
PCFactorGetMatrix PCMGMultiplicativeSetCycles PCSACUSP
PCFieldSplitGetSchurBlocks PCMGSetCyclesOnLevel PCSetModifySubMatrices
PCFieldSplitGetSubKSP PCMGSetCycleType PCSetOptionsPrefix
PCFieldSplitSchurGetS PCMGSetInterpolation PCShellGetContext
PCFieldSplitSchurRestoreS PCMGSetNumberSmoothDown PCSHELL
PCGASMCreateLocalSubdomains PCMGSetNumberSmoothUp PCShellSetContext
PCGASMCreateSubdomains2D PCMGSetResidual PCSVD
PCGASMGetSubdomains PCMGSetRestriction PCSysPFMG
PCGASMGetSubKSP PCMGSetRhs
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
PCApplyBAorAB PCCompositeSetType PCSetUp
PCApplyBAorABTranspose PCCompositeSpecialSetAlpha PCSetUpOnBlocks
PCApply PCCreate PCShellGetName
PCApplyRichardsonExists PCDestroy PCShellSetApplyBA
PCApplyRichardson PCGAMGFinalizePackage PCShellSetApply
PCApplySymmetricLeft PCGAMGInitializePackage PCShellSetApplyRichardson
PCApplySymmetricRight PCGetDiagonalScale PCShellSetApplyTranspose
PCApplyTransposeExists PCMGResidualDefault PCShellSetDestroy
PCApplyTranspose PCModifySubMatrices PCShellSetName
PCBDDCCreateFETIDPOperators PCPostSolve PCShellSetPostSolve
PCBDDCMatFETIDPGetRHS PCPreSolve PCShellSetPreSolve
PCBDDCMatFETIDPGetSolution PCReset PCShellSetSetUp
PCCompositeAddPC PCSetFromOptions PCShellSetView
PCCompositeGetPC PCSetInitialGuessNonzero PCView
No deprecated routines
None: Not yet cataloged
PCSetReusePreconditioner

Table of Contents