[cig-commits] r16646 - short/3D/PyLith/trunk/pylith/problems
brad at geodynamics.org
brad at geodynamics.org
Wed May 5 12:21:07 PDT 2010
Author: brad
Date: 2010-05-05 12:21:07 -0700 (Wed, 05 May 2010)
New Revision: 16646
Modified:
short/3D/PyLith/trunk/pylith/problems/Implicit.py
Log:
Cleanup of output routines. Refactor writeData() from poststep(). Write output at time t for explicit time stepping and output at t+dt for implicit time stepping.
Modified: short/3D/PyLith/trunk/pylith/problems/Implicit.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Implicit.py 2010-05-05 19:20:18 UTC (rev 16645)
+++ short/3D/PyLith/trunk/pylith/problems/Implicit.py 2010-05-05 19:21:07 UTC (rev 16646)
@@ -237,7 +237,8 @@
# Complete post-step processing, then write data.
Formulation.poststep(self, t, dt)
- # Write data.
+ # Write data. Velocity at time t will be based upon displacement
+ # at time t-dt and t.
self._info.log("Writing solution fields.")
for output in self.output.components():
output.writeData(t+dt, self.fields)
More information about the CIG-COMMITS
mailing list