[cig-commits] r19032 - short/3D/PyLith/branches/v1.6-revisedfault/playpen/faultpc
brad at geodynamics.org
brad at geodynamics.org
Thu Oct 6 11:05:23 PDT 2011
Author: brad
Date: 2011-10-06 11:05:23 -0700 (Thu, 06 Oct 2011)
New Revision: 19032
Modified:
short/3D/PyLith/branches/v1.6-revisedfault/playpen/faultpc/checkfaultpc.py
Log:
Fixed sign in L.
Modified: short/3D/PyLith/branches/v1.6-revisedfault/playpen/faultpc/checkfaultpc.py
===================================================================
--- short/3D/PyLith/branches/v1.6-revisedfault/playpen/faultpc/checkfaultpc.py 2011-10-06 16:40:56 UTC (rev 19031)
+++ short/3D/PyLith/branches/v1.6-revisedfault/playpen/faultpc/checkfaultpc.py 2011-10-06 18:05:23 UTC (rev 19032)
@@ -15,10 +15,10 @@
Ki = linalg.inv(K)
# Gauss quadrature
-L = numpy.array([[+2/3.0,0.0, +1/3.0,0.0, -2/3.0,0.0, -1/3.0,0.0],
- [0.0,+2/3.0, 0.0,+1/3.0, 0.0,-2/3.0, 0.0,-1/3.0],
- [+1/3.0,0.0, +2/3.0,0.0, -1/3.0,0.0, -2/3.0,0.0],
- [0.0,+1/3.0, 0.0,+2/3.0, 0.0,-1/3.0, 0.0,-2/3.0]],
+L = numpy.array([[-2/3.0,0.0, -1/3.0,0.0, +2/3.0,0.0, +1/3.0,0.0],
+ [0.0,-2/3.0, 0.0,-1/3.0, 0.0,+2/3.0, 0.0,+1/3.0],
+ [-1/3.0,0.0, -2/3.0,0.0, +1/3.0,0.0, +2/3.0,0.0],
+ [0.0,-1/3.0, 0.0,-2/3.0, 0.0,+1/3.0, 0.0,+2/3.0]],
dtype=numpy.float64)
# Collocated vertices and quadrature
More information about the CIG-COMMITS
mailing list