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

willic3 at geodynamics.org willic3 at geodynamics.org
Mon Sep 25 12:21:06 PDT 2006


Author: willic3
Date: 2006-09-25 12:21:06 -0700 (Mon, 25 Sep 2006)
New Revision: 4609

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/ElementTypeDef.py
Log:
Fixed dimensions of 2D shape function arrays.


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/ElementTypeDef.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/ElementTypeDef.py	2006-09-25 19:13:26 UTC (rev 4608)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/ElementTypeDef.py	2006-09-25 19:21:06 UTC (rev 4609)
@@ -87,7 +87,7 @@
             self.numberVolumeElementGaussPoints)
 
         self.pointerToSh2d = pylith3d.allocateDouble(
-            (numberSpaceDimensions+1)*
+            numberSpaceDimensions*
             self.numberSurfaceElementNodes*
             self.numberSurfaceElementGaussPoints)
             
@@ -101,7 +101,7 @@
             self.numberVolumeElementGaussPoints)
             
         self.pointerToGauss2d = pylith3d.allocateDouble(
-            (numberSpaceDimensions+1)*
+            numberSpaceDimensions*
             self.numberSurfaceElementGaussPoints)
 
         pylith3d.preshape(



More information about the cig-commits mailing list