On Wed, Dec 4, 2013 at 4:54 PM, Dafang Wang <dafang.w...@jhu.edu> wrote: > Dear all, > > I am solving a nonlinear system by using functional calls like > "systemA.solve();". In my > program I need to judge whether the solve succeeds or fails to converge > (Getting the > diverge reason would be even better). Is there any Libmesh function doing > such a job?
/** * Returns the currently-available (or most recently obtained, if the SNES object has * been destroyed) convergence reason. Refer to PETSc docs for the meaning of different * SNESConvergedReasons. */ SNESConvergedReason get_converged_reason(); -- John ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users