petsc-master 2014-12-26
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 PCFactorSetUseInPlace PCHYPRE
PCASMGetType PCFactorSetZeroPivot PCHYPRESetType
PCASMSetDMSubdomains PCFieldSplitGetDiagUseAmat PCISSetSubdomainDiagonalScaling
PCASMSetOverlap PCFieldSplitGetDMSplits PCISSetSubdomainScalingFactor
PCASMSetSortIndices PCFieldSplitGetIS PCISSetUseStiffnessScaling
PCASMSetType PCFieldSplitGetOffDiagUseAmat PCJacobiGetType
PCBDDCGetDirichletBoundaries PCFieldSplitGetSchurPre PCJacobiGetUseAbs
PCBDDCGetDirichletBoundariesLocal PCFieldSplitGetType PCJacobiSetType
PCBDDCGetNeumannBoundaries PCFIELDSPLIT PCJacobiSetUseAbs
PCBDDCGetNeumannBoundariesLocal PCFieldSplitSchurFactType PCJacobiType
PCBDDC PCFieldSplitSchurPreType PCKSP
PCBDDCSetChangeOfBasisMat 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 PCGAMGClassicalGetType PCPARMSSetGlobal
PCBJacobiSetLocalBlocks PCGAMGClassicalSetType PCPARMSSetLocal
PCBJacobiSetTotalBlocks PCGAMGGetType PCPARMSSetNonsymPerm
PCCOMPOSITE PCGAMG PCPARMSSetSolveRestart
PCCP PCGAMGSetCoarseEqLim PCPARMSSetSolveTolerances
PCDiagonalScaleLeft PCGAMGSetNlevels PCPythonSetType
PCDiagonalScaleRight PCGAMGSetNSmooths PCREDISTRIBUTE
PCEisenstatGetNoDiagonalScaling PCGAMGSetProcEqLim PCREDUNDANT
PCEisenstatGetOmega PCGAMGSetRepartitioning PCSetApplicationContext
PCEisenstatSetNoDiagonalScaling PCGAMGSetReuseProl PCSetCoordinates
PCEisenstatSetOmega PCGAMGSetSquareGraph PCSetDiagonalScale
PCExoticSetType PCGAMGSetSymGraph PCSetDM
PCFactorGetAllowDiagonalFill PCGAMGSetThreshold PCSetOperators
PCFactorGetLevels PCGAMGSetType PCSetType
PCFactorGetMatSolverPackage PCGAMGSetUseASMAggs PCSetUseAmat
PCFactorGetUseInPlace PCGAMGType PCSORGetIterations
PCFactorReorderForNonzeroDiagonal PCGASMDestroySubdomains PCSORGetOmega
PCFactorSetAllowDiagonalFill PCGASMGetDMSubdomains PCSORGetSymmetric
PCFactorSetColumnPivot PCGASMSetDMSubdomains PCSORSetIterations
PCFactorSetFill PCGASMSetOverlap PCSORSetOmega
PCFactorSetLevels PCGASMSetSortIndices PCSORSetSymmetric
PCFactorSetMatOrderingType PCGASMSetType PCSPAISetBlockSize
PCFactorSetMatSolverPackage PCGetApplicationContext PCSPAISetCacheSize
PCFactorSetPivotInBlocks PCGetDM PCSPAISetEpsilon
PCFactorSetReuseFill PCGetOperators PCSPAISetMax
PCFactorSetReuseOrdering PCGetOperatorsSet PCSPAISetMaxNew
PCFactorSetShiftAmount PCGetType PCSPAISetNBSteps
PCFactorSetShiftType PCGetUseAmat PCSPAISetSp
PCFactorSetUpMatSolverPackage PCHYPREGetType PCSPAISetVerbose
Advanced - Setting more advanced options and customization
PCAINVCUSP PCGASMGetSubmatrices PCMGSetRhs
PCAppendOptionsPrefix PCGASMSetSubdomains PCMGSetR
PCASMCreateSubdomains2D PCGASMSetTotalSubdomains PCMGSetRScale
PCASMCreateSubdomains PCGetOptionsPrefix PCMGSetType
PCASMDestroySubdomains PCKSPGetKSP PCMGSetX
PCASMGetLocalSubdomains PCMGGetCoarseSolve PCPFMG
PCASMGetLocalSubmatrices PCMGGetInterpolation PCRedistributeGetKSP
PCASMGetSubKSP PCMGGetLevels PCRedundantGetKSP
PCASMSetLocalSubdomains PCMGGetRestriction PCRedundantGetOperators
PCASMSetTotalSubdomains PCMGGetRScale PCRedundantSetNumber
PCBJacobiGetSubKSP PCMGGetSmootherDown PCRedundantSetScatter
PCComputeExplicitOperator PCMGGetSmoother PCRegisterAll
PCEXOTIC PCMGGetSmootherUp PCRegister
PCFactorGetMatrix PCMGGetType PCRichardsonConvergedReason
PCFieldSplitGetSchurBlocks PCMGMultiplicativeSetCycles PCSACUSP
PCFieldSplitGetSubKSP PCMGSetCyclesOnLevel PCSetModifySubMatrices
PCFieldSplitSchurGetS PCMGSetCycleType PCSetOptionsPrefix
PCFieldSplitSchurRestoreS PCMGSetInterpolation PCShellGetContext
PCGASMCreateLocalSubdomains PCMGSetNumberSmoothDown PCSHELL
PCGASMCreateSubdomains2D PCMGSetNumberSmoothUp PCShellSetContext
PCGASMGetSubdomains PCMGSetResidual PCSVD
PCGASMGetSubKSP PCMGSetRestriction PCSysPFMG
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 PCGetInitialGuessNonzero PCShellSetDestroy
PCApplyTranspose PCMGResidualDefault PCShellSetName
PCBDDCCreateFETIDPOperators PCModifySubMatrices PCShellSetPostSolve
PCBDDCMatFETIDPGetRHS PCPostSolve PCShellSetPreSolve
PCBDDCMatFETIDPGetSolution PCPreSolve PCShellSetSetUp
PCCompositeAddPC PCReset PCShellSetView
PCCompositeGetPC PCSetFromOptions PCView
PCCompositeGetType PCSetInitialGuessNonzero
No deprecated routines
None: Not yet cataloged
PCGetReusePreconditioner PCSetReusePreconditioner

Table of Contents