[cig-commits] r7851 - short/3D/PyLith/trunk/playpen/euler

willic3 at geodynamics.org willic3 at geodynamics.org
Mon Aug 20 13:50:54 PDT 2007


Author: willic3
Date: 2007-08-20 13:50:53 -0700 (Mon, 20 Aug 2007)
New Revision: 7851

Modified:
   short/3D/PyLith/trunk/playpen/euler/euler.py
Log:
Corrected a couple of mistakes.


Modified: short/3D/PyLith/trunk/playpen/euler/euler.py
===================================================================
--- short/3D/PyLith/trunk/playpen/euler/euler.py	2007-08-20 20:46:09 UTC (rev 7850)
+++ short/3D/PyLith/trunk/playpen/euler/euler.py	2007-08-20 20:50:53 UTC (rev 7851)
@@ -78,7 +78,7 @@
     spatialDim = pyre.inventory.int("spatial_dim", default=3)
     spatialDim.meta['tip'] = "Spatial dimension of coordinates."
 
-    dataDim = pyre.inventory.int("data_dim", default=2)
+    dataDim = pyre.inventory.int("data_dim", default=3)
     dataDim.meta['tip'] = "Dimension of data."
 
     bcType = pyre.inventory.str("bc_type", default="dislocation")
@@ -210,7 +210,7 @@
       for comp in range(self.spatialDim):
         f.write(' %15e' % self.pointsUTM[iCount + comp])
       for comp in range(self.spatialDim):
-        f.write(' %15e' % self.normals[iCount + comp])
+        f.write(' %15e' % self.velocity[point, comp])
       f.write('\n')
       iCount += 3
     return



More information about the cig-commits mailing list