Tells the iterative solver that the initial guess is nonzero; otherwise PC assumes the initial guess is to be zero (and thus zeros it out before solving).
PetscErrorCode PCSetInitialGuessNonzero(PC pc,PetscBool flg)
Logically Collective on PC
This is a weird function. Since PC's are linear operators on the right hand side they
CANNOT use an initial guess. This function is for the "pass-through" preconditioners
PCKSP, PCREDUNDANT and PCHMPI and causes the inner KSP object to use the nonzero
initial guess. Not currently working for PCREDUNDANT, that has to be rewritten to use KSP.
PC, set, initial guess, nonzero
PCGetInitialGuessNonzero(), PCSetInitialGuessKnoll(), PCGetInitialGuessKnoll()
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages