petsc-master 2018-07-17
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
PC PCGASM PCMGType
PCASM PCGASMSetTotalSubdomains PCMGalerkinType
PCASMType PCGASMType PCNONE
PCBJACOBI PCICC PCPBJACOBI
PCCHOLESKY PCILU PCSOR
PCCompositeType PCJACOBI PCSPAI
PCEISENSTAT PCKaczmarz PCSide
PCExoticType PCLU PCTFS
PCFailedReason PCMGCycleType PCType
Intermediate - Setting options for algorithms and data structures
PCASMGetDMSubdomains PCFactorSetUseInPlace PCHYPRESetAlphaPoissonMatrix
PCASMGetLocalType PCFactorSetZeroPivot PCHYPRESetBetaPoissonMatrix
PCASMGetType PCFieldSplitGetDMSplits PCHYPRESetDiscreteCurl
PCASMSetDMSubdomains PCFieldSplitGetDetectSaddlePoint PCHYPRESetDiscreteGradient
PCASMSetLocalType PCFieldSplitGetDiagUseAmat PCHYPRESetEdgeConstantVectors
PCASMSetOverlap PCFieldSplitGetIS PCHYPRESetInterpolations
PCASMSetSortIndices PCFieldSplitGetOffDiagUseAmat PCHYPRESetType
PCASMSetType PCFieldSplitGetSchurPre PCISSetSubdomainDiagonalScaling
PCBDDC PCFieldSplitGetType PCISSetSubdomainScalingFactor
PCBDDCGetDirichletBoundaries PCFieldSplitSchurFactType PCISSetUseStiffnessScaling
PCBDDCGetDirichletBoundariesLocal PCFieldSplitSchurPreType PCJacobiGetType
PCBDDCGetNeumannBoundaries PCFieldSplitSetBlockSize PCJacobiGetUseAbs
PCBDDCGetNeumannBoundariesLocal PCFieldSplitSetDMSplits PCJacobiSetType
PCBDDCSetChangeOfBasisMat PCFieldSplitSetDetectSaddlePoint PCJacobiSetUseAbs
PCBDDCSetCoarseningRatio PCFieldSplitSetDiagUseAmat PCJacobiType
PCBDDCSetDirichletBoundaries PCFieldSplitSetFields PCKSP
PCBDDCSetDirichletBoundariesLocal PCFieldSplitSetIS PCLMVMClearIS
PCBDDCSetDofsSplitting PCFieldSplitSetOffDiagUseAmat PCLMVMGetMatLMVM
PCBDDCSetDofsSplittingLocal PCFieldSplitSetSchurFactType PCLMVMSetIS
PCBDDCSetLevels PCFieldSplitSetSchurPre PCLMVMSetMatLMVM
PCBDDCSetLocalAdjacencyGraph PCFieldSplitSetSchurScale PCLSC
PCBDDCSetNeumannBoundaries PCFieldSplitSetType PCLoad
PCBDDCSetNeumannBoundariesLocal PCGALERKIN PCMAT
PCBDDCSetPrimalVerticesIS PCGAMG PCML
PCBDDCSetPrimalVerticesLocalIS PCGAMGASMSetUseAggs PCNN
PCBJacobiGetLocalBlocks PCGAMGClassicalGetType PCPARMS
PCBJacobiGetTotalBlocks PCGAMGClassicalSetType PCPARMSGlobalType
PCBJacobiSetLocalBlocks PCGAMGGetType PCPARMSLocalType
PCBJacobiSetTotalBlocks PCGAMGSetCoarseEqLim PCPARMSSetFill
PCCOMPOSITE PCGAMGSetNSmooths PCPARMSSetGlobal
PCCP PCGAMGSetNlevels PCPARMSSetLocal
PCDiagonalScaleLeft PCGAMGSetProcEqLim PCPARMSSetNonsymPerm
PCDiagonalScaleRight PCGAMGSetRepartition PCPARMSSetSolveRestart
PCEisenstatGetNoDiagonalScaling PCGAMGSetReuseInterpolation PCPARMSSetSolveTolerances
PCEisenstatGetOmega PCGAMGSetSquareGraph PCPythonSetType
PCEisenstatSetNoDiagonalScaling PCGAMGSetSymGraph PCREDISTRIBUTE
PCEisenstatSetOmega PCGAMGSetThreshold PCREDUNDANT
PCExoticSetType PCGAMGSetType PCSORGetIterations
PCFIELDSPLIT PCGAMGSetUseParallelCoarseGridSolve PCSORGetOmega
PCFactorGetAllowDiagonalFill PCGAMGType PCSORGetSymmetric
PCFactorGetLevels PCGASMDestroySubdomains PCSORSetIterations
PCFactorGetMatSolverType PCGASMGetUseDMSubdomains PCSORSetOmega
PCFactorGetShiftAmount PCGASMSetOverlap PCSORSetSymmetric
PCFactorGetShiftType PCGASMSetSortIndices PCSPAISetBlockSize
PCFactorGetUseInPlace PCGASMSetType PCSPAISetCacheSize
PCFactorGetZeroPivot PCGASMSetUseDMSubdomains PCSPAISetEpsilon
PCFactorReorderForNonzeroDiagonal PCGalerkinGetKSP PCSPAISetMax
PCFactorSetAllowDiagonalFill PCGalerkinSetComputeSubmatrix PCSPAISetMaxNew
PCFactorSetColumnPivot PCGalerkinSetInterpolation PCSPAISetNBSteps
PCFactorSetFill PCGalerkinSetRestriction PCSPAISetSp
PCFactorSetLevels PCGetApplicationContext PCSPAISetVerbose
PCFactorSetMatOrderingType PCGetDM PCSetApplicationContext
PCFactorSetMatSolverType PCGetOperators PCSetCoordinates
PCFactorSetPivotInBlocks PCGetOperatorsSet PCSetDM
PCFactorSetReuseFill PCGetReusePreconditioner PCSetDiagonalScale
PCFactorSetReuseOrdering PCGetType PCSetOperators
PCFactorSetShiftAmount PCGetUseAmat PCSetReusePreconditioner
PCFactorSetShiftType PCHYPRE PCSetType
PCFactorSetUpMatSolverType PCHYPREGetType PCSetUseAmat
Advanced - Setting more advanced options and customization
PCASMCreateSubdomains PCFieldSplitSchurGetSubKSP PCRichardsonConvergedReason
PCASMCreateSubdomains2D PCFieldSplitSchurRestoreS PCRowScalingViennaCL
PCASMDestroySubdomains PCGAMGRegister PCSAViennaCL
PCASMGetLocalSubdomains PCGAMGSetThresholdScale PCSHELL
PCASMGetLocalSubmatrices PCGASMCreateSubdomains PCSVD
PCASMGetSubKSP PCGASMCreateSubdomains2D PCSetErrorIfFailure
PCASMGetSubMatType PCGASMGetSubKSP PCSetModifySubMatrices
PCASMSetLocalSubdomains PCGASMGetSubdomains PCSetOptionsPrefix
PCASMSetSubMatType PCGASMGetSubmatrices PCShellGetContext
PCASMSetTotalSubdomains PCGASMSetSubdomains PCShellSetContext
PCAppendOptionsPrefix PCGetOptionsPrefix PCSysPFMG
PCBDDCSetDiscreteGradient PCGetSetUpFailedReason PCTELESCOPE
PCBDDCSetDivergenceMat PCKSPGetKSP PCTelescopeGetDM
PCBJacobiGetSubKSP PCKSPSetKSP PCTelescopeGetIgnoreDM
PCCHOWILUViennaCL PCPFMG PCTelescopeGetIgnoreKSPComputeOperators
PCComputeExplicitOperator PCRedistributeGetKSP PCTelescopeGetKSP
PCEXOTIC PCRedundantGetKSP PCTelescopeGetReductionFactor
PCFactorGetMatrix PCRedundantGetOperators PCTelescopeGetSubcommType
PCFieldSplitGetSchurBlocks PCRedundantSetNumber PCTelescopeSetIgnoreDM
PCFieldSplitGetSubKSP PCRedundantSetScatter PCTelescopeSetIgnoreKSPComputeOperators
PCFieldSplitRestrictIS PCRegister PCTelescopeSetReductionFactor
PCFieldSplitSchurGetS PCRegisterAll PCTelescopeSetSubcommType
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
PCApply PCCompositeGetType PCSetUpOnBlocks
PCApplyBAorAB PCCompositeSetType PCShellGetName
PCApplyBAorABTranspose PCCompositeSpecialSetAlpha PCShellSetApply
PCApplyRichardson PCCreate PCShellSetApplyBA
PCApplyRichardsonExists PCDestroy PCShellSetApplyRichardson
PCApplySymmetricLeft PCGAMGFilterGraph PCShellSetApplySymmetricLeft
PCApplySymmetricRight PCGAMGFinalizePackage PCShellSetApplySymmetricRight
PCApplyTranspose PCGAMGInitializePackage PCShellSetApplyTranspose
PCApplyTransposeExists PCGetDiagonalScale PCShellSetDestroy
PCBDDCCreateFETIDPOperators PCModifySubMatrices PCShellSetName
PCBDDCMatFETIDPGetRHS PCPostSolve PCShellSetPostSolve
PCBDDCMatFETIDPGetSolution PCPreSolve PCShellSetPreSolve
PCCompositeAddPC PCReset PCShellSetSetUp
PCCompositeGetNumberPC PCSetFromOptions PCShellSetView
PCCompositeGetPC PCSetUp PCView
No deprecated routines
None: Not yet cataloged
PCLMVM

Table of Contents