[cig-commits] r5782 - short/3D/PyLith/branches/pylith-0.8/pylith3d/module

willic3 at geodynamics.org willic3 at geodynamics.org
Fri Jan 12 13:24:42 PST 2007


Author: willic3
Date: 2007-01-12 13:24:40 -0800 (Fri, 12 Jan 2007)
New Revision: 5782

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
Log:
Added exceptions for problems with Cholesky inversion.


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc	2007-01-12 21:23:53 UTC (rev 5781)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc	2007-01-12 21:24:40 UTC (rev 5782)
@@ -84,6 +84,9 @@
     case 114: exception = PyExc_ValueError; format = "%s: Initial bracketing values are identical."; break;
     case 115: exception = PyExc_ValueError; format = "%s: Root is not initially bracketed."; break;
     case 116: exception = PyExc_ValueError; format = "%s: Invalid set of shear ratios."; break;
+    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;
     // MemoryErrors
     case 300: exception = PyExc_MemoryError; format = "%s: Insufficient memory assigned."; break;
     // binary I/O



More information about the cig-commits mailing list