[cig-commits] r7066 -
short/3D/PyLith/trunk/unittests/libtests/materials
willic3 at geodynamics.org
willic3 at geodynamics.org
Mon Jun 4 21:05:38 PDT 2007
Author: willic3
Date: 2007-06-04 21:05:38 -0700 (Mon, 04 Jun 2007)
New Revision: 7066
Modified:
short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc
Log:
Fixed some compilation bugs. There are more that need fixing.
Modified: short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc 2007-06-05 03:47:23 UTC (rev 7065)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/TestMaxwellIsotropic3D.cc 2007-06-05 04:05:38 UTC (rev 7066)
@@ -15,6 +15,7 @@
#include "TestMaxwellIsotropic3D.hh" // Implementation of class methods
#include "data/MaxwellIsotropic3DElasticData.hh" // USES MaxwellIsotropic3DElasticData
+#include "data/MaxwellIsotropic3DTimeDepData.hh" // USES MaxwellIsotropic3DTimeDepData
#include "pylith/materials/MaxwellIsotropic3D.hh" // USES MaxwellIsotropic3D
@@ -90,7 +91,7 @@
MaxwellIsotropic3DElasticData data;
bool elasFlag = true;
material.useElasticBehavior(elasFlag);
- _testCalcElasticConstsElastic(&material, data);
+ _testCalcElasticConsts(&material, data);
} // testElasticConstsElastic
// ----------------------------------------------------------------------
@@ -103,7 +104,7 @@
std::vector<double_array> totalStrain;
bool elasFlag = true;
material.useElasticBehavior(elasFlag);
- material.updateStateElastic(totalStrain);
+ material.updateState(totalStrain);
} // testUpdateStateElastic
// ----------------------------------------------------------------------
@@ -117,7 +118,7 @@
material.useElasticBehavior(elasFlag);
double dt = 2.0e5;
material.timeStep(dt);
- _testCalcStressTimeDep(&material, data);
+ _testCalcStress(&material, data);
} // testCalcStressTimeDep
// ----------------------------------------------------------------------
@@ -131,7 +132,7 @@
material.useElasticBehavior(elasFlag);
double dt = 2.0e5;
material.timeStep(dt);
- _testCalcElasticConstsTimeDep(&material, data);
+ _testCalcElasticConsts(&material, data);
} // testElasticConstsTimeDep
// ----------------------------------------------------------------------
@@ -146,7 +147,7 @@
material.useElasticBehavior(elasFlag);
double dt = 2.0e5;
material.timeStep(dt);
- material.updateStateTimeDep(totalStrain);
+ material.updateState(totalStrain);
} // testUpdateStateTimeDep
// ----------------------------------------------------------------------
More information about the cig-commits
mailing list