petsc-3.9.4 2018-09-11
Report Typos and Errors

PCSetFromOptions

Sets PC options from the options database. This routine must be called before PCSetUp() if the user is to be allowed to set the preconditioner method.

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCSetFromOptions(PC pc)
Collective on PC

Input Parameter

pc -the preconditioner context

Options Database

-pc_use_amat true,false see PCSetUseAmat() -

Keywords

PC, set, from, options, database

See Also

PCSetUseAmat()

Level

developer

Location

src/ksp/pc/interface/pcset.c

Implementations

PCSetFromOptions_ASM in src/ksp/pc/impls/asm/asm.c
PCSetFromOptions_BDDC in src/ksp/pc/impls/bddc/bddc.c
PCSetFromOptions_BJacobi in src/ksp/pc/impls/bjacobi/bjacobi.c
PCSetFromOptions_CHOWILUVIENNACL in src/ksp/pc/impls/chowiluviennacl/chowiluviennacl.cxx
PCSetFromOptions_Composite in src/ksp/pc/impls/composite/composite.c
PCSetFromOptions_CP in src/ksp/pc/impls/cp/cp.c
PCSetFromOptions_Eisenstat in src/ksp/pc/impls/eisens/eisen.c
PCSetFromOptions_Cholesky in src/ksp/pc/impls/factor/cholesky/cholesky.c
PCSetFromOptions_Factor in src/ksp/pc/impls/factor/factimpl.c
PCSetFromOptions_ICC in src/ksp/pc/impls/factor/icc/icc.c
PCSetFromOptions_ILU in src/ksp/pc/impls/factor/ilu/ilu.c
PCSetFromOptions_LU in src/ksp/pc/impls/factor/lu/lu.c
PCSetFromOptions_FieldSplit in src/ksp/pc/impls/fieldsplit/fieldsplit.c
PCSetFromOptions_Galerkin in src/ksp/pc/impls/galerkin/galerkin.c
PCSetFromOptions_GAMG_AGG in src/ksp/pc/impls/gamg/agg.c
PCSetFromOptions_GAMG in src/ksp/pc/impls/gamg/gamg.c
PCSetFromOptions_GEO in src/ksp/pc/impls/gamg/geo.c
PCSetFromOptions_GASM in src/ksp/pc/impls/gasm/gasm.c
PCSetFromOptions_HYPRE_Pilut in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_HYPRE_BoomerAMG in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_HYPRE_ParaSails in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_HYPRE_AMS in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_HYPRE_ADS in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_HYPRE in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_PFMG in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_SysPFMG in src/ksp/pc/impls/hypre/hypre.c
PCSetFromOptions_Jacobi in src/ksp/pc/impls/jacobi/jacobi.c
PCSetFromOptions_Kaczmarz in src/ksp/pc/impls/kaczmarz/kaczmarz.c
PCSetFromOptions_KSP in src/ksp/pc/impls/ksp/pcksp.c
PCSetFromOptions_LSC in src/ksp/pc/impls/lsc/lsc.c
PCSetFromOptions_MG in src/ksp/pc/impls/mg/mg.c
PCSetFromOptions_ML in src/ksp/pc/impls/ml/ml.c
PCSetFromOptions_PARMS in src/ksp/pc/impls/parms/parms.c
PCSetFromOptions_Redistribute in src/ksp/pc/impls/redistribute/redistribute.c
PCSetFromOptions_Redundant in src/ksp/pc/impls/redundant/redundant.c
PCSetFromOptions_ROWSCALINGVIENNACL in src/ksp/pc/impls/rowscalingviennacl/rowscalingviennacl.cxx
PCSetFromOptions_SAVIENNACL in src/ksp/pc/impls/saviennacl/saviennacl.cxx
PCSetFromOptions_SOR in src/ksp/pc/impls/sor/sor.c
PCSetFromOptions_SPAI in src/ksp/pc/impls/spai/ispai.c
PCSetFromOptions_SVD in src/ksp/pc/impls/svd/svd.c
PCSetFromOptions_Telescope in src/ksp/pc/impls/telescope/telescope.c
PCSetFromOptions_TFS in src/ksp/pc/impls/tfs/tfs.c
PCSetFromOptions_Exotic in src/ksp/pc/impls/wb/wb.c

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