[petsc-users] snes true and preconditioned residuals for left npc

Xiangdong epscodes at gmail.com
Wed Jul 6 12:17:01 CDT 2016


Hello everyone,

I am using snes_type aspin, which is actually newtonls + npc (nasm). After
each newton iteration, if I call SNESGetFunction, the preconditioned
residual is obtained. However, if I use SNESComputeFunction, I get the
 true (unpreconditioned) residual.

If I want to know the preconditioned residual at a point different from
current solution, which function should I call?

Thanks.

Best,
Xiangdong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160706/fe9638b3/attachment.html>


More information about the petsc-users mailing list