PCFactorSetShiftInBlocks

Shifts the diagonal of any block if LU on that block detects a zero pivot.

Synopsis

#include "petscpc.h" 
PetscErrorCode PETSCKSP_DLLEXPORT PCFactorSetShiftInBlocks(PC pc,PetscReal shift)
Collective on PC

Input Parameters

pc - the preconditioner context
shift - amount to shift or PETSC_DECIDE

Options Database Key

-pc_factor_shift_in_blocks <shift> -

See Also

PCILUSetMatOrdering(), PCFactorSetPivoting(), PCFactorSetShiftInBlocks()

Level:intermediate
Location:
src/ksp/pc/impls/factor/factor.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages