[MOAB-dev] r1475 - MOAB/trunk

tautges at mcs.anl.gov tautges at mcs.anl.gov
Mon Dec 17 08:55:33 CST 2007


Author: tautges
Date: 2007-12-17 08:55:32 -0600 (Mon, 17 Dec 2007)
New Revision: 1475

Modified:
   MOAB/trunk/Tqdcfr.cpp
Log:
Adding a few comments.


Modified: MOAB/trunk/Tqdcfr.cpp
===================================================================
--- MOAB/trunk/Tqdcfr.cpp	2007-12-17 14:55:03 UTC (rev 1474)
+++ MOAB/trunk/Tqdcfr.cpp	2007-12-17 14:55:32 UTC (rev 1475)
@@ -941,7 +941,9 @@
   if (NULL == cubMOABVertexMap) {
       // haven't needed one yet, see if we need to keep a map to orig cub ids
 
+      // contiguous - offset is start handle minus 1st node index
     if (contig == 1) node_offset -= int_buf[0];
+      // reverse contiguous - offset is start handle minus last node index
     else if (contig == -1) node_offset -= int_buf[entity->nodeCt-1];
   
     if (contig && -1 == currNodeIdOffset)




More information about the moab-dev mailing list