[MOAB-dev] r5459 - MOAB/trunk/src/io

iulian at mcs.anl.gov iulian at mcs.anl.gov
Tue Apr 3 11:39:45 CDT 2012


Author: iulian
Date: 2012-04-03 11:39:44 -0500 (Tue, 03 Apr 2012)
New Revision: 5459

Modified:
   MOAB/trunk/src/io/Tqdcfr.cpp
Log:
it should skip the method if the element type is out of range
the bug showed up on MAC only, thanks Xiabing!


Modified: MOAB/trunk/src/io/Tqdcfr.cpp
===================================================================
--- MOAB/trunk/src/io/Tqdcfr.cpp	2012-04-02 19:11:08 UTC (rev 5458)
+++ MOAB/trunk/src/io/Tqdcfr.cpp	2012-04-03 16:39:44 UTC (rev 5459)
@@ -897,6 +897,8 @@
     // the mid-element node if there is one.  Need to reconsturct additional
     // connectivity entries from mid-nodes of adjacent lower-order entities.
   int node_per_elem = cub_elem_num_verts[blockh->blockElemType];
+  if (blockh->blockEntityType==MBMAXTYPE)
+    return MB_SUCCESS;
   if (52 == blockh->blockElemType ||
       CN::VerticesPerEntity(blockh->blockEntityType) == node_per_elem)
     return MB_SUCCESS;








































More information about the moab-dev mailing list