[cig-commits] r9237 - short/3D/PyLith/trunk/unittests/pytests/materials

brad at geodynamics.org brad at geodynamics.org
Tue Feb 5 12:25:54 PST 2008


Author: brad
Date: 2008-02-05 12:25:54 -0800 (Tue, 05 Feb 2008)
New Revision: 9237

Modified:
   short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py
Log:
Updated args to initialize.

Modified: short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py	2008-02-05 20:01:06 UTC (rev 9236)
+++ short/3D/PyLith/trunk/unittests/pytests/materials/TestMaterial.py	2008-02-05 20:25:54 UTC (rev 9237)
@@ -66,7 +66,10 @@
     mesh = importer.read(debug=False, interpolate=False)
     
     material.preinitialize()
-    material.initialize(mesh)
+    from pyre.units.time import second
+    totalTime = 0.0*second
+    numTimeSteps = 1
+    material.initialize(mesh, totalTime, numTimeSteps)
 
     # We should really add something here to check to make sure things
     # actually initialized correctly    



More information about the cig-commits mailing list