[MOAB-dev] r3810 - MOAB/trunk/src

iulian at mcs.anl.gov iulian at mcs.anl.gov
Fri Apr 23 13:34:41 CDT 2010


Author: iulian
Date: 2010-04-23 13:34:41 -0500 (Fri, 23 Apr 2010)
New Revision: 3810

Modified:
   MOAB/trunk/src/Core.cpp
Log:
coords array in get_coords needs to be incremented for every subrange
the old pointer arithmetic is faster, but maybe BG/P will choke



Modified: MOAB/trunk/src/Core.cpp
===================================================================
--- MOAB/trunk/src/Core.cpp	2010-04-23 16:58:55 UTC (rev 3809)
+++ MOAB/trunk/src/Core.cpp	2010-04-23 18:34:41 UTC (rev 3810)
@@ -770,6 +770,7 @@
       coords[3*j+1] = y[j];
       coords[3*j+2] = z[j];
     }
+    coords=&coords[ 3*count ];
   }
   
   return MB_SUCCESS;









































More information about the moab-dev mailing list