[cig-commits] r16174 - in short/3D/PyLith/trunk: pylith/meshio pylith/topology unittests/pytests/bc unittests/pytests/faults unittests/pytests/feassemble unittests/pytests/materials unittests/pytests/meshio unittests/pytests/topology

brad at geodynamics.org brad at geodynamics.org
Mon Jan 25 15:23:11 PST 2010


Author: brad
Date: 2010-01-25 15:23:10 -0800 (Mon, 25 Jan 2010)
New Revision: 16174

Modified:
   short/3D/PyLith/trunk/pylith/meshio/MeshIOObj.py
   short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py
   short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py
   short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicitLgDeform.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py
   short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicitLgDeform.py
   short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py
   short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestMesh.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshField.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshFields.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestSolutionFields.py
   short/3D/PyLith/trunk/unittests/pytests/topology/TestSubMesh.py
Log:
Removed unused normalizer argument from mesh reader.

Modified: short/3D/PyLith/trunk/pylith/meshio/MeshIOObj.py
===================================================================
--- short/3D/PyLith/trunk/pylith/meshio/MeshIOObj.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/pylith/meshio/MeshIOObj.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -37,7 +37,7 @@
     return
 
 
-  def read(self, normalizer, debug, interpolate):
+  def read(self, debug, interpolate):
     """
     Read finite-element mesh and store in Sieve mesh object.
 

Modified: short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -85,7 +85,7 @@
     logEvent = "%screate" % self._loggingPrefix
     self._eventLogger.eventBegin(logEvent)    
 
-    mesh = self.reader.read(normalizer, self.debug, self.interpolate)
+    mesh = self.reader.read(self.debug, self.interpolate)
     if self.debug:
       mesh.view("Finite-element mesh.")
     self._debug.log(resourceUsageString())

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestAbsorbingDampers.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -222,7 +222,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     bc.preinitialize(mesh)
     bc.initialize(totalTime=0.0, numTimeSteps=1, normalizer=normalizer)

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBC.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -224,7 +224,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     bc.preinitialize(mesh)
     bc.initialize(totalTime=0.0, numTimeSteps=1, normalizer=normalizer)

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -165,7 +165,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     from spatialdata.spatialdb.SimpleDB import SimpleDB
     db = SimpleDB()

Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestNeumann.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -223,7 +223,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     bc.preinitialize(mesh)
     bc.initialize(totalTime=0.0, numTimeSteps=1, normalizer=normalizer)

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -101,7 +101,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
 
     fault = FaultCohesiveKin()
     fault.inventory.matId = 10
@@ -285,7 +285,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
 
     # Setup quadrature
     from pylith.feassemble.FIATSimplex import FIATSimplex

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicit.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -221,7 +221,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
 
     # Setup material
     from pylith.feassemble.FIATSimplex import FIATSimplex

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicitLgDeform.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicitLgDeform.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityExplicitLgDeform.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -221,7 +221,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
 
     # Setup material
     from pylith.feassemble.FIATSimplex import FIATSimplex

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicit.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -217,7 +217,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
 
     # Setup material
     from pylith.feassemble.FIATSimplex import FIATSimplex

Modified: short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicitLgDeform.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicitLgDeform.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/feassemble/TestElasticityImplicitLgDeform.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -217,7 +217,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
 
     # Setup material
     from pylith.feassemble.FIATSimplex import FIATSimplex

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -168,7 +168,7 @@
     importer.inventory.filename = "data/twoelems.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     material.preinitialize(mesh)
 

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOAscii.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -63,7 +63,7 @@
     from spatialdata.units.Nondimensional import Nondimensional
     normalizer = Nondimensional()
 
-    mesh = io.read(normalizer, debug=False, interpolate=False)
+    mesh = io.read(debug=False, interpolate=False)
 
     io.filename(filenameOut)
     io.write(mesh)

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOCubit.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -65,7 +65,7 @@
     from spatialdata.units.Nondimensional import Nondimensional
     normalizer = Nondimensional()
 
-    mesh = io.read(normalizer, debug=False, interpolate=False)
+    mesh = io.read(debug=False, interpolate=False)
 
     testhandler = MeshIOAscii()
     testhandler.filename(filenameOut)

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestMeshIOLagrit.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -71,7 +71,7 @@
     from spatialdata.units.Nondimensional import Nondimensional
     normalizer = Nondimensional()
 
-    mesh = io.read(normalizer, debug=False, interpolate=False)
+    mesh = io.read(debug=False, interpolate=False)
 
     testhandler = MeshIOAscii()
     testhandler.filename(filenameOut)

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerMesh.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -46,7 +46,7 @@
     from spatialdata.units.Nondimensional import Nondimensional
     normalizer = Nondimensional()
     normalizer._configure()
-    mesh = iohandler.read(normalizer, debug=False, interpolate=False)
+    mesh = iohandler.read(debug=False, interpolate=False)
 
     from pylith.topology.Fields import MeshFields
     fields = MeshFields(mesh)

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputManagerSubMesh.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -46,7 +46,7 @@
     from spatialdata.units.Nondimensional import Nondimensional
     normalizer = Nondimensional()
     normalizer._configure()
-    mesh = iohandler.read(normalizer, debug=False, interpolate=False)
+    mesh = iohandler.read(debug=False, interpolate=False)
 
     from pylith.topology.SubMesh import SubMesh
     submesh = SubMesh(mesh, "4")

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/TestOutputSolnSubset.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -37,7 +37,7 @@
     iohandler.inventory.filename = filename
     iohandler.inventory.coordsys = CSCart()
     iohandler._configure()
-    mesh = iohandler.read(normalizer, debug=False, interpolate=False)
+    mesh = iohandler.read(debug=False, interpolate=False)
 
     from pylith.topology.SolutionFields import SolutionFields
     fields = SolutionFields(mesh)

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -43,7 +43,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    self.mesh = importer.read(normalizer, debug=False, interpolate=False)
+    self.mesh = importer.read(debug=False, interpolate=False)
 
     from pylith.topology.SolutionFields import SolutionFields
     fields = SolutionFields(self.mesh)

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestMesh.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestMesh.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestMesh.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -161,7 +161,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     return mesh
   

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshField.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshField.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshField.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -42,7 +42,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    self.mesh = importer.read(normalizer, debug=False, interpolate=False)
+    self.mesh = importer.read(debug=False, interpolate=False)
     
     self.field = MeshField(self.mesh)
     return

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshFields.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshFields.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestMeshFields.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -42,7 +42,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    self.mesh = importer.read(normalizer, debug=False, interpolate=False)
+    self.mesh = importer.read(debug=False, interpolate=False)
     
     self.fields = MeshFields(self.mesh)
     return

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestSolutionFields.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestSolutionFields.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestSolutionFields.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -42,7 +42,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    self.mesh = importer.read(normalizer, debug=False, interpolate=False)
+    self.mesh = importer.read(debug=False, interpolate=False)
     
     self.fields = SolutionFields(self.mesh)
     return

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestSubMesh.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestSubMesh.py	2010-01-25 20:59:03 UTC (rev 16173)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestSubMesh.py	2010-01-25 23:23:10 UTC (rev 16174)
@@ -135,7 +135,7 @@
     importer.inventory.filename = "data/tri3.mesh"
     importer.inventory.coordsys = cs
     importer._configure()
-    mesh = importer.read(normalizer, debug=False, interpolate=False)
+    mesh = importer.read(debug=False, interpolate=False)
     
     return mesh
   



More information about the CIG-COMMITS mailing list