[cig-commits] r15111 - short/3D/PyLith/trunk/unittests/libtests/materials

willic3 at geodynamics.org willic3 at geodynamics.org
Tue Jun 2 19:43:10 PDT 2009


Author: willic3
Date: 2009-06-02 19:43:09 -0700 (Tue, 02 Jun 2009)
New Revision: 15111

Modified:
   short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc
Log:
Fixed test_updateStateVarsTimeDep to use correct (time-dependent) data.



Modified: short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc	2009-06-02 22:58:45 UTC (rev 15110)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc	2009-06-03 02:43:09 UTC (rev 15111)
@@ -220,6 +220,9 @@
 
   MaxwellIsotropic3D material;
   material.useElasticBehavior(false);
+
+  delete _dataElastic; _dataElastic = new MaxwellIsotropic3DTimeDepData();
+
   const double dt = 2.0e+5;
   material.timeStep(dt);
 



More information about the CIG-COMMITS mailing list