PetscErrorCode KSPFischerGuessCreate(KSP ksp,PetscInt method,PetscInt maxl,KSPFischerGuess *itg)
Notes: the algorithm is different from the paper because we do not CHANGE the right hand side of the new Many brproblem and solve the problem with an initial guess of zero, rather we solve the original new problem Many brwith a nonzero initial guess (this is done so that the linear solver convergence tests are based on Many brthe original RHS.) But we use the xtilde = x - xguess as the new direction so that it is not Many brmostly orthogonal to the previous solutions. Many br
These are not intended to be used directly, they are called by KSP automatically when the Many brKSP option KSPSetFischerGuess(KSP,PetscInt,PetscInt) or -ksp_guess_fischer <int,int> Many br
Method 2 is only for positive definite matrices, since it uses the A norm. Many br
This is not currently programmed as a PETSc class because there are only two methods; if more methods Many brare introduced it should be changed. For example the Knoll guess should be included Many br
Many br
Level:advanced
Location:src/ksp/ksp/interface/iguess.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages