[cig-commits] r15219 - short/3D/PyLith/trunk/unittests/libtests/materials
brad at geodynamics.org
brad at geodynamics.org
Fri Jun 12 13:37:11 PDT 2009
Author: brad
Date: 2009-06-12 13:37:10 -0700 (Fri, 12 Jun 2009)
New Revision: 15219
Modified:
short/3D/PyLith/trunk/unittests/libtests/materials/TestEffectiveStress.cc
Log:
Adjusted convergence tolerance. Eliminated change in algorithm for slow convergence.
Modified: short/3D/PyLith/trunk/unittests/libtests/materials/TestEffectiveStress.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/TestEffectiveStress.cc 2009-06-12 20:05:32 UTC (rev 15218)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/TestEffectiveStress.cc 2009-06-12 20:37:10 UTC (rev 15219)
@@ -80,7 +80,7 @@
Cubic(void) {};
~Cubic(void) {};
double effStressFunc(const double x) {
- return pow(x - 4.0, 3);
+ return pow(x - 4.0, 3) - 8.0;
};
double effStressDerivFunc(const double x) {
return 3.0*pow(x - 4.0, 2);
@@ -143,7 +143,7 @@
void
pylith::materials::TestEffectiveStress::testCalculateCubic(void)
{ // testCalculateCubic
- const double valueE = 4.0;
+ const double valueE = 6.0;
_EffectiveStress::Cubic material;
More information about the CIG-COMMITS
mailing list