[cig-commits] r19757 - short/3D/PyLith/trunk/pylith/meshio

brad at geodynamics.org brad at geodynamics.org
Thu Mar 8 17:41:47 PST 2012


Author: brad
Date: 2012-03-08 17:41:47 -0800 (Thu, 08 Mar 2012)
New Revision: 19757

Modified:
   short/3D/PyLith/trunk/pylith/meshio/OutputSolnPoints.py
Log:
Added missing nondimensionalization of point coordinates.

Modified: short/3D/PyLith/trunk/pylith/meshio/OutputSolnPoints.py
===================================================================
--- short/3D/PyLith/trunk/pylith/meshio/OutputSolnPoints.py	2012-03-09 01:38:13 UTC (rev 19756)
+++ short/3D/PyLith/trunk/pylith/meshio/OutputSolnPoints.py	2012-03-09 01:41:47 UTC (rev 19757)
@@ -113,9 +113,11 @@
     # Convert to mesh coordinate system
     from spatialdata.geocoords.Converter import convert
     convert(points, mesh.coordsys(), self.coordsys)
+    print "LENGTH SCALE",normalizer.lengthScale()
+    points /= normalizer.lengthScale().value
 
     ModuleOutputSolnPoints.setupInterpolator(self, mesh, points)
-    self.mesh = ModuleOutputSolnPoints.createPointsMesh(self)
+    self.mesh = ModuleOutputSolnPoints.pointsMesh(self)
 
     self._eventLogger.eventEnd(logEvent)
     return



More information about the CIG-COMMITS mailing list