[MOAB-dev] r1373 - MOAB/trunk/test/h5file

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Nov 9 16:17:35 CST 2007


Author: kraftche
Date: 2007-11-09 16:17:23 -0600 (Fri, 09 Nov 2007)
New Revision: 1373

Modified:
   MOAB/trunk/test/h5file/h5file_test.cpp
Log:
don't ask for topological connectivty for polygons or polyhedra

Modified: MOAB/trunk/test/h5file/h5file_test.cpp
===================================================================
--- MOAB/trunk/test/h5file/h5file_test.cpp	2007-11-09 21:23:27 UTC (rev 1372)
+++ MOAB/trunk/test/h5file/h5file_test.cpp	2007-11-09 22:17:23 UTC (rev 1373)
@@ -843,8 +843,8 @@
   
   // compare hexes
   std::vector<MBEntityHandle> conn[2];
-  if (MB_SUCCESS != iface->get_connectivity( hex  , 1, conn[0], true ) ||
-      MB_SUCCESS != iface->get_connectivity( hex+1, 1, conn[1], true ))
+  if (MB_SUCCESS != iface->get_connectivity( hex  , 1, conn[0] ) ||
+      MB_SUCCESS != iface->get_connectivity( hex+1, 1, conn[1] ))
     moab_error( "get_connectivity" );
   if (!compare_conn( conn[0], conn[1] ))
     return false;
@@ -853,8 +853,8 @@
   
   std::vector<MBEntityHandle> face[2];
   conn[0].clear(); conn[1].clear();
-  if (MB_SUCCESS != iface->get_connectivity( dod  , 1, conn[0], true ) ||
-      MB_SUCCESS != iface->get_connectivity( dod+1, 1, conn[1], true ))
+  if (MB_SUCCESS != iface->get_connectivity( dod  , 1, conn[0], false ) ||
+      MB_SUCCESS != iface->get_connectivity( dod+1, 1, conn[1], false ))
     moab_error( "get_connectivity" );
   if (conn[0].size() != 12 || conn[1].size() != 12)
   {
@@ -867,8 +867,8 @@
   for (int i = 0; i < 12; ++i )
   {
     face[0].clear(); face[1].clear();
-    if (MB_SUCCESS != iface->get_connectivity( &conn[0][i], 1, face[0], true) ||
-        MB_SUCCESS != iface->get_connectivity( &conn[1][i], 1, face[1], true))
+    if (MB_SUCCESS != iface->get_connectivity( &conn[0][i], 1, face[0], false) ||
+        MB_SUCCESS != iface->get_connectivity( &conn[1][i], 1, face[1], false))
       moab_error( "get_connectivity" );
     if (!compare_conn( face[0], face[1] ))
       return false;




More information about the moab-dev mailing list