[cig-commits] [commit] knepley/upgrade-petsc-interface: Update calls to Mesh::view() for change in interface. (138f727)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Mar 7 15:42:16 PST 2014


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/f47c6e33e941ae327cc9240e4a142bdd9473d094...138f727dd5e2a32c6f8f6904b8362aa4cf5c26fc

>---------------------------------------------------------------

commit 138f727dd5e2a32c6f8f6904b8362aa4cf5c26fc
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Fri Mar 7 15:42:01 2014 -0800

    Update calls to Mesh::view() for change in interface.


>---------------------------------------------------------------

138f727dd5e2a32c6f8f6904b8362aa4cf5c26fc
 pylith/topology/MeshImporter.py     | 4 ++--
 pylith/topology/MeshImporterDist.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pylith/topology/MeshImporter.py b/pylith/topology/MeshImporter.py
index d2d2ba0..db804b7 100644
--- a/pylith/topology/MeshImporter.py
+++ b/pylith/topology/MeshImporter.py
@@ -99,7 +99,7 @@ class MeshImporter(MeshGenerator):
     # Read mesh
     mesh = self.reader.read(self.debug, self.interpolate)
     if self.debug:
-      mesh.view("Finite-element mesh.")
+      mesh.view()
 
     # Reorder mesh
     if self.reorderMesh:
@@ -125,7 +125,7 @@ class MeshImporter(MeshGenerator):
         self._info.log("Distributing mesh.")
       mesh = self.distributor.distribute(mesh, normalizer)
       if self.debug:
-        mesh.view("Distributed mesh.")
+        mesh.view()
       mesh.memLoggingStage = "DistributedMesh"
 
     # Refine mesh (if necessary)
diff --git a/pylith/topology/MeshImporterDist.py b/pylith/topology/MeshImporterDist.py
index 3d3346c..a0f7c2b 100644
--- a/pylith/topology/MeshImporterDist.py
+++ b/pylith/topology/MeshImporterDist.py
@@ -87,7 +87,7 @@ class MeshImporterDist(MeshGenerator):
 
     mesh = self.reader.read(self.debug, self.interpolate)
     if self.debug:
-      mesh.view("Finite-element mesh.")
+      mesh.view()
     self._debug.log(resourceUsageString())
 
     # refine mesh (if necessary)



More information about the CIG-COMMITS mailing list