Hi, all,

I am testing KSPSetInitialGuessNonzero using the case

https://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex50.c.html

This case is special. WIth zero initial guess, 1 iteration can deliver the
exact solution. But when I tried true for KSPSetInitialGuessNonzero, it
shows the same convergence history as false.

Does the code  change KSPSetInitialGuessNonzero to false automatically?

Take care.

Thanks,

Xiaodong Liu, PhD
X: Computational Physics Division
Los Alamos National Laboratory
P.O. Box 1663,
Los Alamos, NM 87544
505-709-0534

Reply via email to