[cig-commits] r13130 - short/3D/PyLith/trunk/pylith/topology

brad at geodynamics.org brad at geodynamics.org
Sat Oct 25 19:43:02 PDT 2008


Author: brad
Date: 2008-10-25 19:43:02 -0700 (Sat, 25 Oct 2008)
New Revision: 13130

Modified:
   short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
Log:
Added debugging output.

Modified: short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2008-10-25 18:51:00 UTC (rev 13129)
+++ short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2008-10-26 02:43:02 UTC (rev 13130)
@@ -96,7 +96,8 @@
     if mpi.MPI_Comm_size(mpi.MPI_COMM_WORLD) > 1:
       self._info.log("Distributing mesh.")
       mesh = self.distributor.distribute(mesh)
-    #mesh.view()
+    if self.debug:
+      mesh.view()
 
     # refine mesh (if necessary)
     mesh = self.refiner.refine(mesh)



More information about the CIG-COMMITS mailing list