[cig-commits] r11966 - short/3D/PyLith/trunk/unittests/pytests/bc
brad at geodynamics.org
brad at geodynamics.org
Wed May 14 09:23:22 PDT 2008
Author: brad
Date: 2008-05-14 09:23:22 -0700 (Wed, 14 May 2008)
New Revision: 11966
Modified:
short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py
short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletPoints.py
Log:
Fixed bug in DirichletPoints and DirichletBoundary. Reference time was not transferred from Python to C++.
Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py 2008-05-14 16:07:06 UTC (rev 11965)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletBoundary.py 2008-05-14 16:23:22 UTC (rev 11966)
@@ -156,6 +156,9 @@
bc.label = "bc"
bc.fixedDOF = [1]
+ from pyre.units.time import second
+ bc.tRef = -1.0*second
+
from spatialdata.spatialdb.SimpleDB import SimpleDB
db = SimpleDB()
db._configure()
Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletPoints.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletPoints.py 2008-05-14 16:07:06 UTC (rev 11965)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichletPoints.py 2008-05-14 16:23:22 UTC (rev 11966)
@@ -155,6 +155,9 @@
bc.label = "bc"
bc.fixedDOF = [1]
+ from pyre.units.time import second
+ bc.tRef = -1.0*second
+
from spatialdata.spatialdb.SimpleDB import SimpleDB
db = SimpleDB()
db._configure()
More information about the cig-commits
mailing list