[petsc-dev] get number of SNES iterations

Matthew Knepley knepley at gmail.com
Wed Oct 25 07:23:41 CDT 2017


TSGetSNES()
SNESGetIterationNumber()

Or do you want something else?

   Matt

On Wed, Oct 25, 2017 at 7:59 AM, Mark Adams <mfadams at lbl.gov> wrote:

> I want to modify the TS time step, in  a post-step function, and would
> like to get the number of Newton iterations that were used in the time
> step. I am not seeing how to get that. I see number of linear solver
> iterations. I'm sure I am missing something ...
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171025/a76b0187/attachment.html>


More information about the petsc-dev mailing list