[cig-commits] r19014 - in short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults: . data

brad at geodynamics.org brad at geodynamics.org
Wed Oct 5 09:47:13 PDT 2011


Author: brad
Date: 2011-10-05 09:47:13 -0700 (Wed, 05 Oct 2011)
New Revision: 19014

Modified:
   short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/TestFaultCohesiveDyn.cc
   short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataHex8.cc
   short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataTet4.cc
Log:
Fixed initial tractions for tet4 and hex8 test cases.

Modified: short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/TestFaultCohesiveDyn.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/TestFaultCohesiveDyn.cc	2011-10-05 16:39:27 UTC (rev 19013)
+++ short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/TestFaultCohesiveDyn.cc	2011-10-05 16:47:13 UTC (rev 19014)
@@ -157,7 +157,7 @@
 
   // Initial tractions
   if (0 != fault._dbInitialTract) {
-    //fault._fields->get("initial tractions").view("INITIAL TRACTIONS"); // DEBUGGING
+    //fault._fields->get("initial traction").view("INITIAL TRACTIONS"); // DEBUGGING
     const ALE::Obj<RealSection>& initialTractionsSection = 
       fault._fields->get("initial traction").section();
     CPPUNIT_ASSERT(!initialTractionsSection.isNull());

Modified: short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataHex8.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataHex8.cc	2011-10-05 16:39:27 UTC (rev 19013)
+++ short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataHex8.cc	2011-10-05 16:47:13 UTC (rev 19014)
@@ -1100,10 +1100,10 @@
 };
 
 const double pylith::faults::CohesiveDynDataHex8::_initialTractions[] = {
-  3.0, -1.0, +2.0, 
-  3.1, -1.1, +2.1, 
-  3.2, -1.2, +2.2,
-  3.3, -1.3, +2.3,
+  -2.0, -3.0, -1.0,
+  -2.1, -3.1, -1.1,
+  -2.2, -3.2, -1.2,
+  -2.3, -3.3, -1.3,
 };
 
 

Modified: short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataTet4.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataTet4.cc	2011-10-05 16:39:27 UTC (rev 19013)
+++ short/3D/PyLith/branches/v1.6-revisedfault/unittests/libtests/faults/data/CohesiveDynDataTet4.cc	2011-10-05 16:47:13 UTC (rev 19014)
@@ -475,9 +475,9 @@
 };
 
 const double pylith::faults::CohesiveDynDataTet4::_initialTractions[] = {
-  3.0, -1.0, +2.0,
-  3.1, -1.1, +2.1,
-  3.2, -1.2, +2.2,
+  -2.0, -3.0, -1.0,
+  -2.1, -3.1, -1.1,
+  -2.2, -3.2, -1.2,
 };
 
 



More information about the CIG-COMMITS mailing list