[cig-commits] r8052 - short/3D/PyLith/trunk/pylith/problems
willic3 at geodynamics.org
willic3 at geodynamics.org
Fri Sep 28 11:36:33 PDT 2007
Author: willic3
Date: 2007-09-28 11:36:33 -0700 (Fri, 28 Sep 2007)
New Revision: 8052
Modified:
short/3D/PyLith/trunk/pylith/problems/Formulation.py
short/3D/PyLith/trunk/pylith/problems/Implicit.py
Log:
Forgot to import resourceUsageString.
Modified: short/3D/PyLith/trunk/pylith/problems/Formulation.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Formulation.py 2007-09-28 17:51:46 UTC (rev 8051)
+++ short/3D/PyLith/trunk/pylith/problems/Formulation.py 2007-09-28 18:36:33 UTC (rev 8052)
@@ -98,6 +98,7 @@
integrator.preinitialize(mesh, material)
self.integrators.append(integrator)
self._debug.log(resourceUsageString())
+
self._info.log("Added elasticity integrator for material '%s'." % \
material.label)
@@ -164,7 +165,6 @@
"""
from pylith.topology.FieldsManager import FieldsManager
self.fields = FieldsManager(self.mesh)
- self._debug.log(resourceUsageString())
self._info.log("Initializing integrators.")
self._debug.log(resourceUsageString())
Modified: short/3D/PyLith/trunk/pylith/problems/Implicit.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Implicit.py 2007-09-28 17:51:46 UTC (rev 8051)
+++ short/3D/PyLith/trunk/pylith/problems/Implicit.py 2007-09-28 18:36:33 UTC (rev 8052)
@@ -18,6 +18,7 @@
## Factory: pde_formulation
from Formulation import Formulation
+from pylith.utils.profiling import resourceUsageString
# Implicit class
class Implicit(Formulation):
@@ -158,7 +159,6 @@
"""
Advance to next time step.
"""
- from pylith.utils.profiling import resourceUsageString
self._info.log("Integrating residual term in operator.")
self._debug.log(resourceUsageString())
More information about the cig-commits
mailing list