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

xbxu at mcs.anl.gov xbxu at mcs.anl.gov
Tue Oct 25 10:27:54 CDT 2011


Author: xbxu
Date: 2011-10-25 10:27:53 -0500 (Tue, 25 Oct 2011)
New Revision: 5199

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:
remove reset method since the data member has already been initilized within the constructor initilizer list

Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2011-10-24 21:26:39 UTC (rev 5198)
+++ MOAB/trunk/src/io/ReadNC.cpp	2011-10-25 15:27:53 UTC (rev 5199)
@@ -39,8 +39,12 @@
 #endif
 {
   assert(impl != NULL);
-  reset();
-  
+
+  for (unsigned int i = 0; i < 6; i++) {
+    gDims[i] = -1;
+    lDims[i] = -1;
+  }
+    
   impl->query_interface(readMeshIface);
 }
 


































More information about the moab-dev mailing list