-snes_info or -snes_monitor, on the command line IIRC, will cause snes to be 
verbose. 

-help will print additional options. 

> On Dec 4, 2013, at 5:54 PM, "Dafang Wang" <[email protected]> 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?
> 
> I understand that Libmesh's nonlinear solve invokes Petsc SNES which returns 
> a bunch of 
> converge reasons. However, I need to hard code the convergence check in my 
> program, so I 
> am wondering if I can do this at the libmesh level.
> 
> Any suggestions would be greatly appreciated.
> 
> Cheers,
> Dafang
> -- 
> Dafang Wang, Ph.D.
> Postdoctoral Fellow
> Institute of Computational Medicine
> Hackerman Hall, Room 218
> Johns Hopkins University, Baltimore, 21218
> http://lagniappe.icm.jhu.edu/~dwang/
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to