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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon May 10 14:53:33 CDT 2010


Author: kraftche
Date: 2010-05-10 14:53:32 -0500 (Mon, 10 May 2010)
New Revision: 3872

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
add a little more debug output

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-10 14:12:20 UTC (rev 3871)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-10 19:53:32 UTC (rev 3872)
@@ -350,16 +350,23 @@
   else
     rval = load_file_impl( opts );
     
-  if (MB_SUCCESS == rval && file_id_tag)
+  if (MB_SUCCESS == rval && file_id_tag) {
+    dbgOut.tprint( 1, "Storing file IDs in tag\n" );
     rval = store_file_ids( *file_id_tag );
+  }
   
-  if (MB_SUCCESS == rval && 0 != file_set)
+  if (MB_SUCCESS == rval && 0 != file_set) {
+    dbgOut.tprint( 1, "Reading QA records\n" );
     rval = read_qa( *file_set );
-    
+  }
+  
+  
+  dbgOut.tprint( 1, "Cleaining up\n" );
   ErrorCode rval2 = clean_up_read( opts );
   if (rval == MB_SUCCESS && rval2 != MB_SUCCESS)
     rval = rval2;
   
+  dbgOut.tprint(1, "Read finished.\n");
   return rval;
 }
   
@@ -441,6 +448,7 @@
       return error(rval);
   }
   
+  dbgOut.tprint(1, "Core read finished.  Cleaning up...\n");
   return MB_SUCCESS;
 }
 
@@ -740,6 +748,8 @@
       return error(rval);
   }
   
+  dbgOut.tprint( 1, "PARTIAL READ COMPLETE.\n" );
+  
   return MB_SUCCESS;
 }
 





More information about the moab-dev mailing list