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

willic3 at geodynamics.org willic3 at geodynamics.org
Sat Aug 1 04:06:20 PDT 2009


Author: willic3
Date: 2009-08-01 04:06:19 -0700 (Sat, 01 Aug 2009)
New Revision: 15498

Modified:
   short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElastic.py
   short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElasticData.cc
   short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDep.py
   short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDepData.cc
   short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElastic.py
   short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElasticData.cc
   short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDep.py
   short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDepData.cc
Log:
Updated unit tests for new stable time step size.



Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElastic.py
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElastic.py	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElastic.py	2009-08-01 11:06:19 UTC (rev 15498)
@@ -165,7 +165,7 @@
     (self.elasticConsts[1,:], self.stress[1,:]) = \
         self._calcStress(strainB, muB, lambdaB, \
                            initialStressB, initialStrainB)
-    self.dtStableImplicit = 0.1*min(min(maxwellTimeA), min(maxwellTimeB))
+    self.dtStableImplicit = 0.2*min(min(maxwellTimeA), min(maxwellTimeB))
 
     return
 

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElasticData.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElasticData.cc	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DElasticData.cc	2009-08-01 11:06:19 UTC (rev 15498)
@@ -39,7 +39,7 @@
 
 const double pylith::materials::GenMaxwellIsotropic3DElasticData::_densityScale =   1.00000000e+03;
 
-const double pylith::materials::GenMaxwellIsotropic3DElasticData::_dtStableImplicit =   4.44444444e+06;
+const double pylith::materials::GenMaxwellIsotropic3DElasticData::_dtStableImplicit =   8.88888889e+06;
 
 const int pylith::materials::GenMaxwellIsotropic3DElasticData::_numPropertyValues[] = {
 1,

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDep.py
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDep.py	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDep.py	2009-08-01 11:06:19 UTC (rev 15498)
@@ -190,7 +190,7 @@
         self._calcStress(strainB, muB, lambdaB, shearRatioB, maxwellTimeB,
                          strainTB, visStrainB,
                          initialStressB, initialStrainB)
-    self.dtStableImplicit = 0.1*min(min(maxwellTimeA), min(maxwellTimeB))
+    self.dtStableImplicit = 0.2*min(min(maxwellTimeA), min(maxwellTimeB))
 
     return
 

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDepData.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDepData.cc	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/GenMaxwellIsotropic3DTimeDepData.cc	2009-08-01 11:06:19 UTC (rev 15498)
@@ -39,7 +39,7 @@
 
 const double pylith::materials::GenMaxwellIsotropic3DTimeDepData::_densityScale =   1.00000000e+03;
 
-const double pylith::materials::GenMaxwellIsotropic3DTimeDepData::_dtStableImplicit =   4.44444444e+06;
+const double pylith::materials::GenMaxwellIsotropic3DTimeDepData::_dtStableImplicit =   8.88888889e+06;
 
 const int pylith::materials::GenMaxwellIsotropic3DTimeDepData::_numPropertyValues[] = {
 1,

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElastic.py
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElastic.py	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElastic.py	2009-08-01 11:06:19 UTC (rev 15498)
@@ -139,7 +139,7 @@
     (self.elasticConsts[1,:], self.stress[1,:], self.stateVarsUpdated[1,:]) = \
         self._calcStress(strainB, muB, lambdaB, \
                            initialStressB, initialStrainB)
-    self.dtStableImplicit = 0.1*min(maxwellTimeA, maxwellTimeB)
+    self.dtStableImplicit = 0.2*min(maxwellTimeA, maxwellTimeB)
     return
 
 

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElasticData.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElasticData.cc	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DElasticData.cc	2009-08-01 11:06:19 UTC (rev 15498)
@@ -39,7 +39,7 @@
 
 const double pylith::materials::MaxwellIsotropic3DElasticData::_densityScale =   1.00000000e+03;
 
-const double pylith::materials::MaxwellIsotropic3DElasticData::_dtStableImplicit =   4.44444444e+06;
+const double pylith::materials::MaxwellIsotropic3DElasticData::_dtStableImplicit =   8.88888889e+06;
 
 const int pylith::materials::MaxwellIsotropic3DElasticData::_numPropertyValues[] = {
 1,

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDep.py
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDep.py	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDep.py	2009-08-01 11:06:19 UTC (rev 15498)
@@ -170,7 +170,7 @@
                                                totalStrainB, viscousStrainB,
                                                initialStressB, initialStrainB)
 
-    self.dtStableImplicit = 0.1*min(maxwellTimeA, maxwellTimeB)
+    self.dtStableImplicit = 0.2*min(maxwellTimeA, maxwellTimeB)
     return
 
 

Modified: short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDepData.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDepData.cc	2009-08-01 01:31:47 UTC (rev 15497)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/data/MaxwellIsotropic3DTimeDepData.cc	2009-08-01 11:06:19 UTC (rev 15498)
@@ -39,7 +39,7 @@
 
 const double pylith::materials::MaxwellIsotropic3DTimeDepData::_densityScale =   1.00000000e+03;
 
-const double pylith::materials::MaxwellIsotropic3DTimeDepData::_dtStableImplicit =   4.44444444e+06;
+const double pylith::materials::MaxwellIsotropic3DTimeDepData::_dtStableImplicit =   8.88888889e+06;
 
 const int pylith::materials::MaxwellIsotropic3DTimeDepData::_numPropertyValues[] = {
 1,



More information about the CIG-COMMITS mailing list