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

willic3 at geodynamics.org willic3 at geodynamics.org
Mon Dec 4 13:31:04 PST 2006


Author: willic3
Date: 2006-12-04 13:31:03 -0800 (Mon, 04 Dec 2006)
New Revision: 5439

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_setup.py
Log:
Added an extra field to ivfamily so we can output material ID rather
than material model, which is much more useful.



Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_setup.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_setup.py	2006-12-04 21:30:19 UTC (rev 5438)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_setup.py	2006-12-04 21:31:03 UTC (rev 5439)
@@ -925,7 +925,7 @@
 	self.memorySize += self.numberVolumeElementNodes* \
                            self.numberVolumeElements*self.intSize
         self.pointerToIvfamily = pylith3d.allocateInt(
-            5*self.numberVolumeElementFamilies)
+            6*self.numberVolumeElementFamilies)
         self.memorySize += 5*self.numberVolumeElementFamilies*self.intSize
 
         self.pointerToIvftmp = pylith3d.allocateInt(



More information about the cig-commits mailing list