[cig-commits] r6631 -
short/3D/PyLith/branches/pylith-0.8/pylith3d/module
willic3 at geodynamics.org
willic3 at geodynamics.org
Sun Apr 22 20:04:25 PDT 2007
Author: willic3
Date: 2007-04-22 20:04:24 -0700 (Sun, 22 Apr 2007)
New Revision: 6631
Modified:
short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx
short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
Log:
Changed method for determining how many vertices per face for traction
BC.
Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx 2007-04-23 03:02:56 UTC (rev 6630)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx 2007-04-23 03:04:24 UTC (rev 6631)
@@ -813,6 +813,7 @@
&self.numtractions, # intent(out)
&nsnodesmax,
&self.kr,
+ &self.ietypev,
traction_units, # intent(out)
self.tractionInputFile,
&errorcode,
Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc 2007-04-23 03:02:56 UTC (rev 6630)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/exceptionhandler.cc 2007-04-23 03:04:24 UTC (rev 6631)
@@ -85,6 +85,7 @@
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;
+ case 121: exception = PyExc_ValueError; format = "%s: Unsupported element type for traction BC."; break;
// MemoryErrors
case 300: exception = PyExc_MemoryError; format = "%s: Insufficient memory assigned."; break;
// binary I/O
More information about the cig-commits
mailing list