[cig-commits] r8374 - in short/3D/PyLith/trunk: . pylith/problems
brad at geodynamics.org
brad at geodynamics.org
Mon Dec 3 16:53:23 PST 2007
Author: brad
Date: 2007-12-03 16:53:23 -0800 (Mon, 03 Dec 2007)
New Revision: 8374
Modified:
short/3D/PyLith/trunk/TODO
short/3D/PyLith/trunk/pylith/problems/Explicit.py
short/3D/PyLith/trunk/pylith/problems/Implicit.py
Log:
Adjusted interface to Integrator::updateState() to allow use of optimized restrict()/update() with custom atlases in FieldsManager.
Modified: short/3D/PyLith/trunk/TODO
===================================================================
--- short/3D/PyLith/trunk/TODO 2007-12-04 00:46:25 UTC (rev 8373)
+++ short/3D/PyLith/trunk/TODO 2007-12-04 00:53:23 UTC (rev 8374)
@@ -24,8 +24,6 @@
Problem
2. Optimization of restrict()/update()
- UpdateState
- Change disp argument to fields?
a. Fault
b. Absorbing BC
Modified: short/3D/PyLith/trunk/pylith/problems/Explicit.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Explicit.py 2007-12-04 00:46:25 UTC (rev 8373)
+++ short/3D/PyLith/trunk/pylith/problems/Explicit.py 2007-12-04 00:53:23 UTC (rev 8374)
@@ -158,7 +158,7 @@
self._info.log("Updating integrators states.")
for integrator in self.integrators:
- integrator.updateState(t, self.fields.cppHandle)
+ integrator.updateState(t, self.fields)
Formulation.poststep(self, t, dt, totalTime)
return
Modified: short/3D/PyLith/trunk/pylith/problems/Implicit.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Implicit.py 2007-12-04 00:46:25 UTC (rev 8373)
+++ short/3D/PyLith/trunk/pylith/problems/Implicit.py 2007-12-04 00:53:23 UTC (rev 8374)
@@ -195,7 +195,7 @@
self._info.log("Updating integrators states.")
self._debug.log(resourceUsageString())
for integrator in self.integrators:
- integrator.updateState(t+dt, self.fields.cppHandle)
+ integrator.updateState(t+dt, self.fields)
self._debug.log(resourceUsageString())
# If finishing first time step, then switch from solving for total
More information about the cig-commits
mailing list