[cig-commits] r13374 - short/3D/PyLith/trunk/pylith/problems

brad at geodynamics.org brad at geodynamics.org
Fri Nov 21 17:05:23 PST 2008


Author: brad
Date: 2008-11-21 17:05:23 -0800 (Fri, 21 Nov 2008)
New Revision: 13374

Modified:
   short/3D/PyLith/trunk/pylith/problems/Implicit.py
Log:
Small change to debugging code.

Modified: short/3D/PyLith/trunk/pylith/problems/Implicit.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Implicit.py	2008-11-22 01:04:07 UTC (rev 13373)
+++ short/3D/PyLith/trunk/pylith/problems/Implicit.py	2008-11-22 01:05:23 UTC (rev 13374)
@@ -195,7 +195,7 @@
 
     # BEGIN TEMPORARY
     #import pylith.topology.topology as bindings
-    #bindings.sectionView(self.fields.getReal("dispIncr"), "SOLUTION");
+    #bindings.sectionView(self.fields.getReal("dispIncr"), "DISPINCR SOLUTION");
     #bindings.sectionView(self.fields.getReal("residual"), "RESIDUAL");
     # END TEMPORARY
 
@@ -217,8 +217,8 @@
     # dispTBctpdt contains the displacement field at time t+dt.
     import pylith.topology.topology as bindings
     dispIncr = self.fields.getReal("dispIncr")
-    disp = self.fields.getSolution()
-    bindings.addRealSections(disp, disp, dispIncr)
+    dispTBctpdt = self.fields.getSolution()
+    bindings.addRealSections(dispTBctpdt, dispTBctpdt, dispIncr)
 
     Formulation.poststep(self, t, dt)
 



More information about the CIG-COMMITS mailing list