Gideon Simpson <gideon.simp...@gmail.com> writes: > I notice that if I use -snes_view, > > I see lines like: > total number of linear solver iterations=20 > total number of function evaluations=5 > Just to clarify, the number of "function evaluations" corresponds to the > number of Newton (or Newton like) steps, and the total "number of linear > solver iterations” is the total number of iterations needed to solve the > linear problem at each Newton iteration. Is that correct? So in the above, > there are 5 steps of Newton and a total of 20 iterations of the linear solver > across all 5 Newton steps.
Usually there is one final residual evaluation to declare convergence. Also, if you activated a line search, the residual would have been evaluated more than once per Newton step.
signature.asc
Description: PGP signature