[petsc-users] adding calls before and after each iteration of snes

hg hgbk2008 at gmail.com
Tue May 25 07:40:47 CDT 2021


Hello

I would like to ask if it is possible to add function call before and after
each iteration of SNES solve, e.g. InitializeNonLinearIteration and
FinalizeNonLinearIteration. It is particularly useful for debugging the
constitutive law or for post-processing to post the intermediate results.

Best
Giang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210525/a262ea4e/attachment-0001.html>


More information about the petsc-users mailing list