[cig-commits] r16461 - in short/3D/PyLith/trunk: libsrc/topology pylith/topology

brad at geodynamics.org brad at geodynamics.org
Tue Mar 30 11:33:58 PDT 2010


Author: brad
Date: 2010-03-30 11:33:58 -0700 (Tue, 30 Mar 2010)
New Revision: 16461

Modified:
   short/3D/PyLith/trunk/libsrc/topology/Mesh.cc
   short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
Log:
Trivial changes.

Modified: short/3D/PyLith/trunk/libsrc/topology/Mesh.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/topology/Mesh.cc	2010-03-30 18:33:35 UTC (rev 16460)
+++ short/3D/PyLith/trunk/libsrc/topology/Mesh.cc	2010-03-30 18:33:58 UTC (rev 16461)
@@ -17,6 +17,7 @@
 #include "spatialdata/geocoords/CoordSys.hh" // USES CoordSys
 #include "spatialdata/units/Nondimensional.hh" // USES Nondimensional
 #include "pylith/utils/array.hh" // USES double_array
+
 #include <stdexcept> // USES std::runtime_error
 #include <sstream> // USES std::ostringstream
 #include <cassert> // USES assert()

Modified: short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2010-03-30 18:33:35 UTC (rev 16460)
+++ short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2010-03-30 18:33:58 UTC (rev 16461)
@@ -85,13 +85,17 @@
     logEvent = "%screate" % self._loggingPrefix
     self._eventLogger.eventBegin(logEvent)    
 
+    # Read mesh
     mesh = self.reader.read(self.debug, self.interpolate)
     if self.debug:
       mesh.view("Finite-element mesh.")
+
+    # Adjust topology
     self._debug.log(resourceUsageString())
     self._info.log("Adjusting topology.")
     self._adjustTopology(mesh, faults)
 
+    # Distribute mesh
     import mpi
     if mpi.MPI_Comm_size(mpi.MPI_COMM_WORLD) > 1:
       self._info.log("Distributing mesh.")
@@ -99,7 +103,7 @@
       if self.debug:
         mesh.view("Distributed mesh.")
 
-    # refine mesh (if necessary)
+    # Refine mesh (if necessary)
     mesh = self.refiner.refine(mesh)
 
     # Nondimensionalize mesh (coordinates of vertices).



More information about the CIG-COMMITS mailing list