[cig-commits] r15382 - short/3D/PyLith/trunk/unittests/pytests/faults
brad at geodynamics.org
brad at geodynamics.org
Wed Jun 24 19:10:37 PDT 2009
Author: brad
Date: 2009-06-24 19:10:37 -0700 (Wed, 24 Jun 2009)
New Revision: 15382
Modified:
short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py
Log:
Updated fault unit tests for changes to adjustTopology (r15377).
Modified: short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py 2009-06-24 23:48:47 UTC (rev 15381)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/TestFaultCohesiveKin.py 2009-06-25 02:10:37 UTC (rev 15382)
@@ -108,7 +108,9 @@
fault.inventory.faultLabel = "fault"
fault._configure()
- fault.adjustTopology(mesh)
+ firstFaultVertex = 0
+ firstFaultCell = 0
+ fault.adjustTopology(mesh, firstFaultVertex, firstFaultCell)
# We should really add something here to check to make sure things
# actually initialized correctly
@@ -334,7 +336,9 @@
eqsrc.inventory.slipfn = slipfn
eqsrc._configure()
- fault.adjustTopology(mesh)
+ firstFaultVertex = 0
+ firstFaultCell = 0
+ fault.adjustTopology(mesh, firstFaultVertex, firstFaultCell)
fault.preinitialize(mesh)
fault.timeStep(dt)
fault.verifyConfiguration()
More information about the CIG-COMMITS
mailing list