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

brad at geodynamics.org brad at geodynamics.org
Fri Nov 9 15:47:43 PST 2007


Author: brad
Date: 2007-11-09 15:47:43 -0800 (Fri, 09 Nov 2007)
New Revision: 8261

Modified:
   short/3D/PyLith/trunk/pylith/problems/Explicit.py
Log:
Fixed not using self.mesh in Explicit.py.

Modified: short/3D/PyLith/trunk/pylith/problems/Explicit.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Explicit.py	2007-11-09 23:46:58 UTC (rev 8260)
+++ short/3D/PyLith/trunk/pylith/problems/Explicit.py	2007-11-09 23:47:43 UTC (rev 8261)
@@ -72,9 +72,9 @@
     self.fields.addReal("residual")
     self.fields.createHistory(["dispTpdt", "dispT", "dispTmdt"])    
     self.fields.copyLayout("dispT")
-    self.jacobian = mesh.createMatrix(self.fields.getSolution())
+    self.jacobian = self.mesh.createMatrix(self.fields.getSolution())
 
-    self.solver.initialize(mesh, self.fields.getSolution())
+    self.solver.initialize(self.mesh, self.fields.getSolution())
 
     # Solve for total displacement field
     for constraint in self.constraints:



More information about the cig-commits mailing list