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

iulian at mcs.anl.gov iulian at mcs.anl.gov
Thu Dec 6 13:54:54 CST 2012


Author: iulian
Date: 2012-12-06 13:54:54 -0600 (Thu, 06 Dec 2012)
New Revision: 5902

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:
these vars should not be set to 0, it will set the coordinate of the first node to 0, 0, 0
gather set related issue :(


Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2012-12-06 14:51:18 UTC (rev 5901)
+++ MOAB/trunk/src/io/ReadNC.cpp	2012-12-06 19:54:54 UTC (rev 5902)
@@ -878,10 +878,6 @@
     rval = readMeshIface->get_node_coords(3, num_total_verts, 0, start_vertex, arrays); 
     ERRORR(rval, "Couldn't create vertices in ucd mesh for gather set.");
     
-    // set vertex coordinates
-#ifdef USE_MPI
-    *xptr = NULL, *yptr = NULL, *zptr = NULL;
-#endif
     xptr = arrays[0], yptr = arrays[1], zptr = arrays[2];
     for (i = 0; i < (int)num_total_verts; ++i) {
       double cosphi = cos(pideg * jlVals[i]);



More information about the moab-dev mailing list