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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Mar 17 09:07:57 CDT 2011


Author: kraftche
Date: 2011-03-17 09:07:52 -0500 (Thu, 17 Mar 2011)
New Revision: 4604

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
include some info about fragrmentation in debug output for HDF5 reader

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2011-03-16 22:18:01 UTC (rev 4603)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2011-03-17 14:07:52 UTC (rev 4604)
@@ -895,7 +895,7 @@
   }
     
   debug_barrier();
-  dbgOut.tprint( 1, "READING NODE COORDINATES\n" );
+  dbgOut.tprintf( 1, "READING NODE COORDINATES (%lu nodes in %lu selects)\n", nodes.size(), nodes.psize() );
   
     // Read node coordinates and create vertices in MOAB
     // NOTE:  This populates the RangeMap with node file ids,
@@ -1392,6 +1392,7 @@
   CHECK_OPEN_HANDLES;
 
   debug_barrier();
+  dbgOut.tprintf( 1, "READING %s CONNECTIVITY (%lu elems in %lu selects)\n", elems.handle, file_ids.size(), file_ids.psize() );
 
   ErrorCode rval = MB_SUCCESS;
   mhdf_Status status;
@@ -1613,6 +1614,9 @@
 
   CHECK_OPEN_HANDLES;
 
+  debug_barrier();
+  dbgOut.tprintf( 1, "READING %s CONNECTIVITY (%lu elems in %lu selects)\n", fileInfo->elems[i].handle, elems_in.size(), elems_in.psize() );
+
   EntityHandle* const buffer = reinterpret_cast<EntityHandle*>(dataBuffer);
   const int node_per_elem = fileInfo->elems[i].desc.vals_per_ent;
   const size_t buffer_size = bufferSize / (node_per_elem*sizeof(EntityHandle));






















More information about the moab-dev mailing list