[MOAB-dev] r1363 - MOAB/trunk/test/perf
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Wed Nov 7 17:25:23 CST 2007
Author: kraftche
Date: 2007-11-07 17:25:22 -0600 (Wed, 07 Nov 2007)
New Revision: 1363
Modified:
MOAB/trunk/test/perf/seqperf.cpp
Log:
Use 0 rather than -1 for MPI rank when creating sequences because MBReadUtil doesn't handle the latter as expected
Modified: MOAB/trunk/test/perf/seqperf.cpp
===================================================================
--- MOAB/trunk/test/perf/seqperf.cpp 2007-11-07 23:14:59 UTC (rev 1362)
+++ MOAB/trunk/test/perf/seqperf.cpp 2007-11-07 23:25:22 UTC (rev 1363)
@@ -373,7 +373,7 @@
void create_vertices_block( )
{
std::vector<double*> arrays;
- MBErrorCode rval = readTool->get_node_arrays( 3, numVert, 0, -1, vertStart, arrays );
+ MBErrorCode rval = readTool->get_node_arrays( 3, numVert, 0, 0, vertStart, arrays );
assert(!rval && arrays.size() == 3);
double *x = arrays[0], *y = arrays[1], *z = arrays[2];
assert( x && y && z );
@@ -402,7 +402,7 @@
void create_elements_block( )
{
MBEntityHandle* conn = 0;
- MBErrorCode rval = readTool->get_element_array( numElem, 8, MBHEX, 0, -1, elemStart, conn );
+ MBErrorCode rval = readTool->get_element_array( numElem, 8, MBHEX, 0, 0, elemStart, conn );
assert(!rval && conn);
for (long i = 0; i < numElem; ++i)
More information about the moab-dev
mailing list