On Wed, Feb 23, 2011 at 11:12, Roman Vetter <[email protected]>wrote:
> - The PETSc linear solver provides a print_converged_reason() member, > which includes the KSPConvergedReason enums, but not all of them! > Having a switch statement like that is pretty silly. You can get the reason in string form (const char *) with KSPConvergedReasons[reason] The solver has converged if reason>0 and diverged if reason<0. The same applies to SNES, use SNESConvergedReasons[reason] to get the string.
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
