[cig-commits] r17920 - short/3D/PyLith/trunk/playpen/postproc

willic3 at geodynamics.org willic3 at geodynamics.org
Sun Feb 20 13:22:19 PST 2011


Author: willic3
Date: 2011-02-20 13:22:19 -0800 (Sun, 20 Feb 2011)
New Revision: 17920

Modified:
   short/3D/PyLith/trunk/playpen/postproc/stressinfo.py
Log:
Switched to XML VTK writer.


Modified: short/3D/PyLith/trunk/playpen/postproc/stressinfo.py
===================================================================
--- short/3D/PyLith/trunk/playpen/postproc/stressinfo.py	2011-02-20 21:04:01 UTC (rev 17919)
+++ short/3D/PyLith/trunk/playpen/postproc/stressinfo.py	2011-02-20 21:22:19 UTC (rev 17920)
@@ -255,8 +255,7 @@
     mesh.update()
 
     # Write VTK file
-    w = tvtk.UnstructuredGridWriter(file_name=self.vtkOutputFile,
-		    input=mesh)
+    w = tvtk.XMLDataSetWriter(file_name=self.vtkOutputFile, input=mesh)
     w.write()
 
     return



More information about the CIG-COMMITS mailing list