PCFactorGetShiftAmount#

Gets the tolerance used to define a zero privot

Synopsis#

#include "petscpc.h" 
PetscErrorCode PCFactorGetShiftAmount(PC pc, PetscReal *shift)

Not Collective

Input Parameter#

  • pc - the preconditioner context

Output Parameter#

  • shift - how much to shift the diagonal entry

See Also#

PCLU, PCCHOLESKY, PCFactorSetShiftAmount(), PCFactorSetShiftType(), PCFactorGetShiftType()

Level#

intermediate

Location#

src/ksp/pc/impls/factor/factor.c

Implementations#

PCFactorGetShiftAmount_Factor in src/ksp/pc/impls/factor/factimpl.c


Edit on GitLab

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