[cig-commits] r21013 - short/3D/PyLith/trunk/unittests/libtests/faults/data

knepley at geodynamics.org knepley at geodynamics.org
Sat Nov 10 19:33:09 PST 2012


Author: knepley
Date: 2012-11-10 19:33:09 -0800 (Sat, 10 Nov 2012)
New Revision: 21013

Modified:
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataHex8.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataLine2.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataQuad4.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTet4.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTri3.cc
Log:
Now CohesiveKinSrc* tests work

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataHex8.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataHex8.cc	2012-11-11 03:22:03 UTC (rev 21012)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataHex8.cc	2012-11-11 03:33:09 UTC (rev 21013)
@@ -26,7 +26,7 @@
  *
  * After adding cohesive elements
  *
- * Cells are 0-1,16 and vertices are 4-15.
+ * Cells are 0-1,2 and vertices are 3-15.
  *
  *       2,3,4,5 -------- 6,7,8,9 -- 14,15,16,17 -------- 10,11,12,13
  *                                    18,19,20,21
@@ -193,13 +193,13 @@
   3, 4, 2, 1
 };
 const int pylith::faults::CohesiveKinSrcsDataHex8::_verticesLagrange[] = {
-  20, 21, 19, 18
+  21, 22, 20, 19
 };
 const int pylith::faults::CohesiveKinSrcsDataHex8::_verticesNegative[] = {
-  8, 9, 7, 6
+  9, 10, 8, 7
 };
 const int pylith::faults::CohesiveKinSrcsDataHex8::_verticesPositive[] = {
-  16, 17, 15, 14
+  17, 18, 16, 15
 };
 
 const int pylith::faults::CohesiveKinSrcsDataHex8::_numCohesiveCells = 1;
@@ -207,7 +207,7 @@
   0
 };
 const int pylith::faults::CohesiveKinSrcsDataHex8::_cellMappingCohesive[] = {
-  22
+  2
 };
 
 

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataLine2.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataLine2.cc	2012-11-11 03:22:03 UTC (rev 21012)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataLine2.cc	2012-11-11 03:33:09 UTC (rev 21013)
@@ -23,7 +23,7 @@
  *   2 -------- 3 -------- 4
  *
  * After adding cohesive elements
- *   2 -------- 3-6-5 -------- 4
+ *   3 -------- 4-7-6 -------- 5
  */
 
 #include "CohesiveKinSrcsDataLine2.hh"
@@ -111,13 +111,13 @@
   1
 };
 const int pylith::faults::CohesiveKinSrcsDataLine2::_verticesLagrange[] = {
-  6
+  7
 };
 const int pylith::faults::CohesiveKinSrcsDataLine2::_verticesPositive[] = {
-  5
+  6
 };
 const int pylith::faults::CohesiveKinSrcsDataLine2::_verticesNegative[] = {
-  3
+  4
 };
 
 const int pylith::faults::CohesiveKinSrcsDataLine2::_numCohesiveCells = 1;
@@ -125,7 +125,7 @@
   0
 };
 const int pylith::faults::CohesiveKinSrcsDataLine2::_cellMappingCohesive[] = {
-  7
+  2
 };
 
 

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataQuad4.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataQuad4.cc	2012-11-11 03:22:03 UTC (rev 21012)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataQuad4.cc	2012-11-11 03:33:09 UTC (rev 21013)
@@ -33,9 +33,9 @@
  *
  * After adding cohesive elements
  *
- * Cells are 0-1,10 vertices are 2-9.
+ * Cells are 0-1,2 vertices are 3-10.
  *
- *       3 -------- 5 -11-- 9 -------- 7
+ *       4 -------- 6 -12-- 10 -------- 8
  *       |          |       |          |
  *       |          |       |          |
  *       |          |       |          |
@@ -44,7 +44,7 @@
  *       |          |       |          |
  *       |          |       |          |
  *       |          |       |          |
- *       2 -------- 4 -10-- 8 -------- 6
+ *       3 -------- 5 -11-- 9 -------- 7
  */
 
 #include "CohesiveKinSrcsDataQuad4.hh"
@@ -148,13 +148,13 @@
   1, 2
 };
 const int pylith::faults::CohesiveKinSrcsDataQuad4::_verticesLagrange[] = {
-  10, 11
+  11, 12
 };
 const int pylith::faults::CohesiveKinSrcsDataQuad4::_verticesNegative[] = {
-  4, 5
+  5, 6
 };
 const int pylith::faults::CohesiveKinSrcsDataQuad4::_verticesPositive[] = {
-  8, 9
+  9, 10
 };
 
 const int pylith::faults::CohesiveKinSrcsDataQuad4::_numCohesiveCells = 1;
@@ -162,7 +162,7 @@
   0
 };
 const int pylith::faults::CohesiveKinSrcsDataQuad4::_cellMappingCohesive[] = {
-  12
+  2
 };
 
 

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTet4.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTet4.cc	2012-11-11 03:22:03 UTC (rev 21012)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTet4.cc	2012-11-11 03:33:09 UTC (rev 21013)
@@ -152,13 +152,13 @@
   2, 1, 3
 };
 const int pylith::faults::CohesiveKinSrcsDataTet4::_verticesLagrange[] = {
-  11, 10, 12
+  12, 11, 13
 };
 const int pylith::faults::CohesiveKinSrcsDataTet4::_verticesNegative[] = {
-  4, 3, 5
+  5, 4, 6
 };
 const int pylith::faults::CohesiveKinSrcsDataTet4::_verticesPositive[] = {
-  8, 7, 9
+  9, 8, 10
 };
 
 const int pylith::faults::CohesiveKinSrcsDataTet4::_numCohesiveCells = 1;
@@ -166,7 +166,7 @@
   0
 };
 const int pylith::faults::CohesiveKinSrcsDataTet4::_cellMappingCohesive[] = {
-  13
+  2
 };
 
 

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTri3.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTri3.cc	2012-11-11 03:22:03 UTC (rev 21012)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinSrcsDataTri3.cc	2012-11-11 03:33:09 UTC (rev 21013)
@@ -35,30 +35,19 @@
  *
  * After adding cohesive elements
  *
- * Cells are 0-1, 8, vertices are 2-7.
+ * Cells are 0-1, 2, vertices are 3-8.
  *
- *              6 -7- 3
+ *              7 -9- 4
  *             /|     |\
  *            / |     | \
  *           /  |     |  \
  *          /   |     |   \
- *         2    |     |    5
+ *         3    |     |    6
  *          \   |     |   /
  *           \  |     |  /
  *            \ |     | /
  *             \|     |/
- *              8 -9- 4
- *              6 -8- 3
- *             /|     |\
- *            / |     | \
- *           /  |     |  \
- *          /   |     |   \
- *         2    |     |    5
- *          \   |     |   /
- *           \  |     |  /
- *            \ |     | /
- *             \|     |/
- *              7 -9- 4
+ *              8-10- 5
  */
 
 #include "CohesiveKinSrcsDataTri3.hh"
@@ -157,13 +146,13 @@
   1, 2
 };
 const int pylith::faults::CohesiveKinSrcsDataTri3::_verticesLagrange[] = {
-  8, 9
+  9, 10
 };
 const int pylith::faults::CohesiveKinSrcsDataTri3::_verticesNegative[] = {
-  3, 4
+  4, 5
 };
 const int pylith::faults::CohesiveKinSrcsDataTri3::_verticesPositive[] = {
-  6, 7
+  7, 8
 };
 
 const int pylith::faults::CohesiveKinSrcsDataTri3::_numCohesiveCells = 1;
@@ -171,7 +160,7 @@
   0
 };
 const int pylith::faults::CohesiveKinSrcsDataTri3::_cellMappingCohesive[] = {
-  10
+  2
 };
 
 



More information about the CIG-COMMITS mailing list