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

willic3 at geodynamics.org willic3 at geodynamics.org
Wed Nov 15 12:06:22 PST 2006


Author: willic3
Date: 2006-11-15 12:06:22 -0800 (Wed, 15 Nov 2006)
New Revision: 5273

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
Log:
Added new exception if sum of shear ratios is incorrect.



Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc	2006-11-15 20:05:38 UTC (rev 5272)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc	2006-11-15 20:06:22 UTC (rev 5273)
@@ -83,6 +83,7 @@
     case 113: exception = PyExc_ValueError; format = "%s: Zero or negative jacobian for element."; break;
     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;
     // MemoryErrors
     case 300: exception = PyExc_MemoryError; format = "%s: Insufficient memory assigned."; break;
     // binary I/O



More information about the cig-commits mailing list