[cig-commits] r22754 - short/3D/PyLith/trunk/unittests/libtests/topology/data

brad at geodynamics.org brad at geodynamics.org
Tue Sep 3 10:00:46 PDT 2013


Author: brad
Date: 2013-09-03 10:00:46 -0700 (Tue, 03 Sep 2013)
New Revision: 22754

Modified:
   short/3D/PyLith/trunk/unittests/libtests/topology/data/MeshDataCohesiveTet4Level1.cc
Log:
Updated tet4 refinement test data (groups).

Modified: short/3D/PyLith/trunk/unittests/libtests/topology/data/MeshDataCohesiveTet4Level1.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/topology/data/MeshDataCohesiveTet4Level1.cc	2013-09-03 15:27:32 UTC (rev 22753)
+++ short/3D/PyLith/trunk/unittests/libtests/topology/data/MeshDataCohesiveTet4Level1.cc	2013-09-03 17:00:46 UTC (rev 22754)
@@ -65,7 +65,7 @@
   25, 21, 22, 26,
   22, 23, 26, 21,
   26, 24, 25, 21,
-  17,  27,  23,  21,
+  17,  27,  23,  21, // update cells starting here
   23,  22,  21,  27,
   23,  27,  28,  22,
   19,  28,  22,  23,
@@ -76,32 +76,32 @@
 };
 const int pylith::topology::MeshDataCohesiveTet4Level1::_cellsCohesive[] = {
 };
-const int pylith::topology::MeshDataCohesiveTet4Level1::_materialIds[] = {
+const int pylith::topology::MeshDataCohesiveTet4Level1::_materialIds[16] = {
   1, 1, 1, 1, 1, 1, 1, 1,
   2, 2, 2, 2, 2, 2, 2, 2,
 };
 
 const int pylith::topology::MeshDataCohesiveTet4Level1::_numGroups = 4;
 
-const int pylith::topology::MeshDataCohesiveTet4Level1::_groupSizes[] = {
-  3, 3, 2, 6,
+const int pylith::topology::MeshDataCohesiveTet4Level1::_groupSizes[4] = {
+  5, 5, 2, 19,
 };
 
-const int pylith::topology::MeshDataCohesiveTet4Level1::_groups[] = {
-  16, 17, 24,
-  18, 20, 29,
+const int pylith::topology::MeshDataCohesiveTet4Level1::_groups[5+5+2+19] = { // vertices, edges, faces
+  16, 17, 25,    82, 83,
+  18, 20, 29,    90, 91,
   16, 20,
-  17, 18, 19, 21, 22, 23,
+  17, 18, 19, 21, 22, 23,    74, 75, 76, 77, 78, 79, 92, 93, 94,    30, 31, 32, 33,
 };
 
-const char* pylith::topology::MeshDataCohesiveTet4Level1::_groupNames[] = {
+const char* pylith::topology::MeshDataCohesiveTet4Level1::_groupNames[4] = {
   "edge 1",
   "edge 2",
   "end points",
   "fault",
 };
 
-const char* pylith::topology::MeshDataCohesiveTet4Level1::_groupTypes[] = {
+const char* pylith::topology::MeshDataCohesiveTet4Level1::_groupTypes[4] = {
   "vertex", 
   "vertex",
   "vertex",



More information about the CIG-COMMITS mailing list