#include "petscpc.h" PetscErrorCode PCFactorSetShiftType(PC pc,MatFactorShiftType shifttype)Logically Collective on PC
pc | - the preconditioner context | |
shifttype | - type of shift; one of MAT_SHIFT_NONE, MAT_SHIFT_NONZERO, MAT_SHIFT_POSITIVE_DEFINITE, MAT_SHIFT_INBLOCKS |