Is there currently an easy way to get the number of newton iterations
from a PETSc solve? I know PETSc used to return it as a value from
SNESSolve, but newer versions require calling SNESGetIterationNumber.
I would call this myself after the solve, but in the libMesh
PetscNonlinearSolver<T>::solve routine it destroys the SNES object
before I can get to the iteration count. I imagine this would be
really easy to add to the library if there isn't a way around it...

Thanks!
Andrea

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to