[cig-commits] r15319 - in short/3D/PyLith/trunk/pylith: feassemble problems
brad at geodynamics.org
brad at geodynamics.org
Wed Jun 17 10:56:19 PDT 2009
Author: brad
Date: 2009-06-17 10:56:19 -0700 (Wed, 17 Jun 2009)
New Revision: 15319
Modified:
short/3D/PyLith/trunk/pylith/feassemble/Integrator.py
short/3D/PyLith/trunk/pylith/problems/Formulation.py
Log:
Fixed initialization of gravity bugs (needed updating).
Modified: short/3D/PyLith/trunk/pylith/feassemble/Integrator.py
===================================================================
--- short/3D/PyLith/trunk/pylith/feassemble/Integrator.py 2009-06-17 17:55:31 UTC (rev 15318)
+++ short/3D/PyLith/trunk/pylith/feassemble/Integrator.py 2009-06-17 17:56:19 UTC (rev 15319)
@@ -58,7 +58,6 @@
Constructor.
"""
self.mesh = None
- self.gravityField = None
return
@@ -85,8 +84,6 @@
self._eventLogger.eventBegin(logEvent)
self.normalizer(normalizer)
- if None != self.gravityField:
- self.gravityField(self.gravityField)
self._eventLogger.eventEnd(logEvent)
return
Modified: short/3D/PyLith/trunk/pylith/problems/Formulation.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Formulation.py 2009-06-17 17:55:31 UTC (rev 15318)
+++ short/3D/PyLith/trunk/pylith/problems/Formulation.py 2009-06-17 17:56:19 UTC (rev 15319)
@@ -190,10 +190,6 @@
self.fields = SolutionFields(self.mesh)
self._debug.log(resourceUsageString())
- if not self.gravityField is None:
- self._info.log("Initializing gravity field.")
- self.gravityField.initialize()
-
self._info.log("Initializing integrators.")
for integrator in self.integratorsMesh + self.integratorsSubMesh:
if not self.gravityField is None:
More information about the CIG-COMMITS
mailing list