[cig-commits] r4563 - in short/3D/PyLith/trunk/pylith: materials meshio

baagaard at geodynamics.org baagaard at geodynamics.org
Sat Sep 16 14:49:10 PDT 2006


Author: baagaard
Date: 2006-09-16 14:49:10 -0700 (Sat, 16 Sep 2006)
New Revision: 4563

Modified:
   short/3D/PyLith/trunk/pylith/materials/ElasticIsotropic3D.py
   short/3D/PyLith/trunk/pylith/meshio/MeshIO.py
Log:
Fixed typos.

Modified: short/3D/PyLith/trunk/pylith/materials/ElasticIsotropic3D.py
===================================================================
--- short/3D/PyLith/trunk/pylith/materials/ElasticIsotropic3D.py	2006-09-16 21:48:27 UTC (rev 4562)
+++ short/3D/PyLith/trunk/pylith/materials/ElasticIsotropic3D.py	2006-09-16 21:49:10 UTC (rev 4563)
@@ -87,9 +87,9 @@
   def _configure(self):
     """Set members using inventory."""
     self.useDB = self.inventory.useDB
-    self.muLame = self.inventory.density*self.inventory.vs*self.inventory.vs
-    self.lambdaLame = self.inventory.density*self.inventory.vp*self.inventory.vp - 2.0*self.muLame
-    self.density = self.inventory.density
+    self.density = density
+    self.muLame = self.density * self.inventory.vs**2
+    self.lambdaLame = self.density * self.inventory.vp**2 - 2*self.muLame
     return
 
 

Modified: short/3D/PyLith/trunk/pylith/meshio/MeshIO.py
===================================================================
--- short/3D/PyLith/trunk/pylith/meshio/MeshIO.py	2006-09-16 21:48:27 UTC (rev 4562)
+++ short/3D/PyLith/trunk/pylith/meshio/MeshIO.py	2006-09-16 21:49:10 UTC (rev 4563)
@@ -28,7 +28,7 @@
     """Python object for managing MeshIO facilities and properties."""
 
     ## @class Inventory
-    ## Python object for managing Field facilities and properties.
+    ## Python object for managing MeshIO facilities and properties.
     ##
     ## \b Properties
     ## @li \b interpolate Build intermediate mesh topology elements



More information about the cig-commits mailing list