[petsc-users] Ksp Initial residual norm

Edoardo alinovi edoardo.alinovi at gmail.com
Sun Feb 3 08:27:57 CST 2019


Dear all,

I have a very simple question for you. How can I get the initial residual
from a ksp solver? I can easily extract the final (preconditioned) residual
norm  but  when I try to use to do the same with the initial residual using:

kspInitialResidual()

PETSc tells me that this feature is not supported. I am actually doing it
applying the definition of residual "by hand", but I am wondering if
somenthing already built-in is available or not.

Thank you very much!
------

Edoardo Alinovi, Ph.D.

DICCA, Scuola Politecnica,
Universita' degli Studi di Genova,
1, via Montallegro,
16145 Genova, Italy

Email: edoardo.alinovi at dicca.unige.it
Tel: +39 010 353 2540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190203/1da84e8b/attachment.html>


More information about the petsc-users mailing list