[cig-commits] r6263 -
short/3D/PyLith/branches/pylith-0.8/pylith3d/module
willic3 at geodynamics.org
willic3 at geodynamics.org
Thu Mar 15 12:39:34 PDT 2007
Author: willic3
Date: 2007-03-15 12:39:34 -0700 (Thu, 15 Mar 2007)
New Revision: 6263
Modified:
short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
Log:
Added exception for case where maximum number of Newton-Raphson
iterations is exceeded.
Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc 2007-03-15 19:38:25 UTC (rev 6262)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc 2007-03-15 19:39:34 UTC (rev 6263)
@@ -87,6 +87,7 @@
case 117: exception = PyExc_ValueError; format = "%s: Illegal value in triangular matrix."; break;
case 118: exception = PyExc_ValueError; format = "%s: Triangular matrix not positive definite."; break;
case 119: exception = PyExc_ValueError; format = "%s: Diagonal of factored triangular matrix is zero."; break;
+ case 120: exception = PyExc_ValueError; format = "%s: Maximum iterations exceeded in Newton-Raphson."; break;
// MemoryErrors
case 300: exception = PyExc_MemoryError; format = "%s: Insufficient memory assigned."; break;
// binary I/O
More information about the cig-commits
mailing list