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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Aug 30 13:12:45 CDT 2011


Author: kraftche
Date: 2011-08-30 13:12:45 -0500 (Tue, 30 Aug 2011)
New Revision: 5138

Modified:
   MOAB/trunk/src/io/WriteHDF5.cpp
Log:
WriteHDF5: fix bugs writing parallel shared sets

Modified: MOAB/trunk/src/io/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/WriteHDF5.cpp	2011-08-30 18:12:06 UTC (rev 5137)
+++ MOAB/trunk/src/io/WriteHDF5.cpp	2011-08-30 18:12:45 UTC (rev 5138)
@@ -1278,6 +1278,7 @@
         }
         memcpy( buffer+count, &list[0], append*sizeof(id_t) );    
         ++i;
+        ++si;
         count += append;
         continue;    
       } 
@@ -1483,6 +1484,10 @@
           ++r;
           ++n;
         }
+        else if (s != null_stripped_sets.end() && *i == *s) {
+           ++s;
+          ++n;
+        }
       }
       else {
         assert(si == specialSets.end() || si->setHandle > *i);






























More information about the moab-dev mailing list