Yes, in that situation you just need to call KSPSetInitalGuessNonzero() and 
then call KSPSolve again. Note that for GMRES and friends this will begin 
afresh by starting with a new Krylov space, it won't start from the partially 
built one. 

  Be sure to reset KSPSetInitalGuessNonzero() for your next solve if that does 
require an initial guess of zero.

> On Feb 9, 2022, at 11:15 AM, Medane TCHAKOROM 
> <[email protected]> wrote:
> 
> Hello,
> 
> Is it possible to run KSPSolve till the convergence (or not) , let the 
> program do some work,
> 
> and then restart KSPSolve where it stopped ? (maybe with different tolerance 
> or max iterations)
> 
> 
> Thanks
> 

Reply via email to