[cig-commits] r14861 - short/3D/PyLith/branches/pylith-swig/pylith/problems
brad at geodynamics.org
brad at geodynamics.org
Mon May 4 15:28:42 PDT 2009
Author: brad
Date: 2009-05-04 15:28:41 -0700 (Mon, 04 May 2009)
New Revision: 14861
Modified:
short/3D/PyLith/branches/pylith-swig/pylith/problems/Explicit.py
Log:
Fixed bug in setting initial guess to zero.
Modified: short/3D/PyLith/branches/pylith-swig/pylith/problems/Explicit.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/pylith/problems/Explicit.py 2009-05-04 22:26:39 UTC (rev 14860)
+++ short/3D/PyLith/branches/pylith-swig/pylith/problems/Explicit.py 2009-05-04 22:28:41 UTC (rev 14861)
@@ -161,8 +161,8 @@
self.fields.shiftHistory()
# :KLUDGE: only works for KSP solver
+ dispTpdt = self.fields.get("disp(t+dt)")
if not self.solver.guessZero:
- dispTpdt = self.fields.get("disp(t+dt)")
dispT = self.fields.get("disp(t)")
dispTpdt.copy(dispT)
else:
More information about the CIG-COMMITS
mailing list