[cig-commits] r15596 - in short/3D/PyLith/trunk/pylith: bc feassemble problems

willic3 at geodynamics.org willic3 at geodynamics.org
Tue Aug 25 20:47:40 PDT 2009


Author: willic3
Date: 2009-08-25 20:47:39 -0700 (Tue, 25 Aug 2009)
New Revision: 15596

Modified:
   short/3D/PyLith/trunk/pylith/bc/AbsorbingDampers.py
   short/3D/PyLith/trunk/pylith/feassemble/IntegratorElasticity.py
   short/3D/PyLith/trunk/pylith/problems/Formulation.py
Log:
Fixed some journal stuff.



Modified: short/3D/PyLith/trunk/pylith/bc/AbsorbingDampers.py
===================================================================
--- short/3D/PyLith/trunk/pylith/bc/AbsorbingDampers.py	2009-08-26 03:38:54 UTC (rev 15595)
+++ short/3D/PyLith/trunk/pylith/bc/AbsorbingDampers.py	2009-08-26 03:47:39 UTC (rev 15596)
@@ -99,7 +99,7 @@
               "Dimension for quadrature: %d\n" \
               "Dimension of mesh boundary '%s': %d" % \
               (self.bcQuadrature.cellDim,
-               self.label, self.mesh.dimension()-1)    
+               self.label(), self.mesh.dimension()-1)    
     ModuleAbsorbingDampers.verifyConfiguration(self, self.mesh)
 
     self._eventLogger.eventEnd(logEvent)

Modified: short/3D/PyLith/trunk/pylith/feassemble/IntegratorElasticity.py
===================================================================
--- short/3D/PyLith/trunk/pylith/feassemble/IntegratorElasticity.py	2009-08-26 03:38:54 UTC (rev 15595)
+++ short/3D/PyLith/trunk/pylith/feassemble/IntegratorElasticity.py	2009-08-26 03:47:39 UTC (rev 15596)
@@ -84,7 +84,7 @@
     self._eventLogger.eventBegin(logEvent)
 
     self._info.log("Initializing integrator for material '%s'." % \
-                   self.materialObj.label)
+                   self.materialObj.label())
     Integrator.initialize(self, totalTime, numTimeSteps, normalizer)
     self.materialObj.normalizer(normalizer)
 

Modified: short/3D/PyLith/trunk/pylith/problems/Formulation.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Formulation.py	2009-08-26 03:38:54 UTC (rev 15595)
+++ short/3D/PyLith/trunk/pylith/problems/Formulation.py	2009-08-26 03:47:39 UTC (rev 15596)
@@ -388,7 +388,7 @@
       if not implementsIntegrator(integrator):
         raise TypeError, \
               "Could not use '%s' as an integrator for material '%s'. " \
-              "Functionality missing." % (integrator.name, material.label)
+              "Functionality missing." % (integrator.name, material.label())
       integrator.preinitialize(self.mesh, material)
       self.integratorsMesh.append(integrator)
       self._debug.log(resourceUsageString())



More information about the CIG-COMMITS mailing list