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

xbxu at mcs.anl.gov xbxu at mcs.anl.gov
Tue Jul 3 13:01:23 CDT 2012


Author: xbxu
Date: 2012-07-03 13:01:23 -0500 (Tue, 03 Jul 2012)
New Revision: 5626

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:
return MB_FAILURE when requested to read data on edges

Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2012-07-03 14:47:35 UTC (rev 5625)
+++ MOAB/trunk/src/io/ReadNC.cpp	2012-07-03 18:01:23 UTC (rev 5626)
@@ -817,6 +817,7 @@
 	  break;
 	case 1:
 	  // north/south edges
+	  /*
 	  vdatas[i].readDims[t].push_back(lDims[1]);
 	  vdatas[i].readDims[t].push_back(lCDims[0]);
 	  // FIXME: need to figure out what to do with extra 2 pole points
@@ -826,9 +827,12 @@
 	  assert(vdatas[i].readDims[t].size() == vdatas[i].varDims.size());
 	  ehandles = &ns_edges_handles;
 	  range = &verts; // FIXME: should remove when edge handles are used
+	  */
+	  ERRORR(MB_FAILURE, "Reading edge data not implemented yet.");
 	  break;
 	case 2:
 	  // east/west edges
+	  /*
 	  vdatas[i].readDims[t].push_back(lCDims[1]);
 	  vdatas[i].readDims[t].push_back(lDims[0]);
 #ifdef USE_MPI
@@ -843,6 +847,8 @@
 	  assert(vdatas[i].readDims[t].size() == vdatas[i].varDims.size());
 	  ehandles = &ew_edges_handles;
 	  range = &verts; // FIXME: should remove when edge handles are used
+	  */
+	  ERRORR(MB_FAILURE, "Reading edge data not implemented yet.");
 	  break;
 	case 3:
 	  // quads



More information about the moab-dev mailing list