[cig-commits] r14355 - in short/3D/PyLith/branches/pylith-swig: . pylith/problems unittests/pytests/problems
brad at geodynamics.org
brad at geodynamics.org
Mon Mar 16 16:14:30 PDT 2009
Author: brad
Date: 2009-03-16 16:14:30 -0700 (Mon, 16 Mar 2009)
New Revision: 14355
Modified:
short/3D/PyLith/branches/pylith-swig/TODO
short/3D/PyLith/branches/pylith-swig/pylith/problems/TimeStep.py
short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStep.py
short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepAdapt.py
short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepUser.py
Log:
Updated unit tests.
Modified: short/3D/PyLith/branches/pylith-swig/TODO
===================================================================
--- short/3D/PyLith/branches/pylith-swig/TODO 2009-03-16 23:14:17 UTC (rev 14354)
+++ short/3D/PyLith/branches/pylith-swig/TODO 2009-03-16 23:14:30 UTC (rev 14355)
@@ -15,12 +15,19 @@
TestMesh.test_view()
TestMesh.test_checkMaterialIds()
+ libsrc/materials
+ Maxwell materials
+
libtests/bc/TestDirichletBoundary::testVertexField()
libtests/bc/TestDirichletBoundary::testBoundaryMesh()
+ libtests/bc/TestBoundaryMesh
+ requires faults to be working
pytests/bc/TestDirichletBoundary
pytests/bc/TestNeumann (output)
+
+
libtests/feassemble/ElasticityExplict
testVerifyConfiguration()
testCellField()
@@ -31,8 +38,6 @@
DirichletPoints (Python) - rate == None -> dbRate == 0
DirichletBoundary (Python) - rate == None -> dbRate == 0
- Maxwell materials
-
1. Reduce memory use (new labels) [Matt]
2. Nondimensionalize [Brad]
Modified: short/3D/PyLith/branches/pylith-swig/pylith/problems/TimeStep.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/pylith/problems/TimeStep.py 2009-03-16 23:14:17 UTC (rev 14354)
+++ short/3D/PyLith/branches/pylith-swig/pylith/problems/TimeStep.py 2009-03-16 23:14:30 UTC (rev 14355)
@@ -122,7 +122,7 @@
from pylith.utils.EventLogger import EventLogger
logger = EventLogger()
- logger.setClassName("PDE TimeStep")
+ logger.className("PDE TimeStep")
logger.initialize()
events = ["preinit",
Modified: short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStep.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStep.py 2009-03-16 23:14:17 UTC (rev 14354)
+++ short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStep.py 2009-03-16 23:14:30 UTC (rev 14355)
@@ -30,8 +30,7 @@
from spatialdata.units.Nondimensional import Nondimensional
normalizer = Nondimensional()
normalizer._configure()
- normalizer._time = 2.0*second
- normalizer.initialize()
+ normalizer.setTimeScale(2.0*second)
tstep = TimeStep()
tstep._configure()
Modified: short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepAdapt.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepAdapt.py 2009-03-16 23:14:17 UTC (rev 14354)
+++ short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepAdapt.py 2009-03-16 23:14:30 UTC (rev 14355)
@@ -40,8 +40,7 @@
from spatialdata.units.Nondimensional import Nondimensional
normalizer = Nondimensional()
normalizer._configure()
- normalizer._time = 2.0*second
- normalizer.initialize()
+ normalizer.setTimeScale(2.0*second)
tstep = TimeStepAdapt()
tstep._configure()
Modified: short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepUser.py
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepUser.py 2009-03-16 23:14:17 UTC (rev 14354)
+++ short/3D/PyLith/branches/pylith-swig/unittests/pytests/problems/TestTimeStepUser.py 2009-03-16 23:14:30 UTC (rev 14355)
@@ -31,8 +31,7 @@
from spatialdata.units.Nondimensional import Nondimensional
normalizer = Nondimensional()
normalizer._configure()
- normalizer._time = 2.0*second
- normalizer.initialize()
+ normalizer.setTimeScale(2.0*second)
tstep = TimeStepUser()
tstep._configure()
More information about the CIG-COMMITS
mailing list