#include "petscpc.h" PetscErrorCode PCFactorSetShiftAmount(PC pc,PetscReal shiftamount)Logically Collective on PC
pc | - the preconditioner context | |
shiftamount | - amount of shift |
-pc_factor_shift_amount <shiftamount> | - Sets shift amount or PETSC_DECIDE for the default |