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

willic3 at geodynamics.org willic3 at geodynamics.org
Thu Sep 28 13:12:23 PDT 2006


Author: willic3
Date: 2006-09-28 13:12:23 -0700 (Thu, 28 Sep 2006)
New Revision: 4654

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py
Log:
Fixed call to scan_tractions.


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py	2006-09-28 20:09:58 UTC (rev 4653)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py	2006-09-28 20:12:23 UTC (rev 4654)
@@ -359,7 +359,7 @@
         self._maxGaussPoints2d = 4
         self._numberElementTypes2d = 2
         self._numberElementTypesBase2d = 2
-        self._numberElementNodesBase = [4, 3]
+        self._numberElementNodesBase2d = [4, 3]
         self._pointerToListArrayNumberElementNodesBase2d = pylith3d.intListToArray(
             self._numberElementNodesBase2d)
 	self._memorySize += self._numberElementTypesBase2d*self._intSize
@@ -512,9 +512,9 @@
         #     f77FileInput,
         #     self._prestressInputFile)
 
-        self._numberTractionBc = pylith3d.scan_traction(
-            self._numberElementNodes2d,
-            self._numberSpaceDimensions,
+        self._numberTractionBc = pylith3d.scan_tractions(
+            self._maxElementNodes2d,
+            self._numberDegreesFreedom,
             self._tractionBcUnits,
             f77FileInput,
             self._tractionInputFile)



More information about the cig-commits mailing list