[cig-commits] r8360 - in short/3D/PyLith/trunk/pylith: meshio topology

brad at geodynamics.org brad at geodynamics.org
Fri Nov 30 15:45:05 PST 2007


Author: brad
Date: 2007-11-30 15:45:04 -0800 (Fri, 30 Nov 2007)
New Revision: 8360

Modified:
   short/3D/PyLith/trunk/pylith/meshio/MeshIO.py
   short/3D/PyLith/trunk/pylith/topology/Mesh.py
   short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
Log:
Removed extraneous debugging stuff, including dumping of mesh to stdout. Fixed typo in Python Mesh.view().

Modified: short/3D/PyLith/trunk/pylith/meshio/MeshIO.py
===================================================================
--- short/3D/PyLith/trunk/pylith/meshio/MeshIO.py	2007-11-30 22:36:25 UTC (rev 8359)
+++ short/3D/PyLith/trunk/pylith/meshio/MeshIO.py	2007-11-30 23:45:04 UTC (rev 8360)
@@ -59,10 +59,7 @@
     mesh.initialize(self.coordsys)
 
     # Read mesh
-    #import mpi
-    #if 0 == mpi.MPI_Comm_rank(mesh.comm()):
     self.cppHandle.read(mesh.cppHandle)
-    mesh.view()
     return mesh
 
 

Modified: short/3D/PyLith/trunk/pylith/topology/Mesh.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/Mesh.py	2007-11-30 22:36:25 UTC (rev 8359)
+++ short/3D/PyLith/trunk/pylith/topology/Mesh.py	2007-11-30 23:45:04 UTC (rev 8360)
@@ -70,7 +70,7 @@
     View the mesh.
     """
     if not self.cppHandle is None:
-      self.cppHandle.view
+      self.cppHandle.view()
     return
 
 

Modified: short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2007-11-30 22:36:25 UTC (rev 8359)
+++ short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2007-11-30 23:45:04 UTC (rev 8360)
@@ -79,7 +79,7 @@
     import mpi
     if mpi.MPI_Comm_size(mpi.MPI_COMM_WORLD) > 1:
       mesh = self.distributor.distribute(mesh)
-    mesh.view()
+    #mesh.view()
     return mesh
 
 



More information about the cig-commits mailing list