[MOAB-dev] r2928 - MOAB/branches/parallel_ghosting/parallel
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Wed Jun 3 15:55:17 CDT 2009
Author: tautges
Date: 2009-06-03 15:55:17 -0500 (Wed, 03 Jun 2009)
New Revision: 2928
Modified:
MOAB/branches/parallel_ghosting/parallel/pcomm_unit.cpp
Log:
Forgot to clear out a list before reusing it.
Interface exchange now works.
Modified: MOAB/branches/parallel_ghosting/parallel/pcomm_unit.cpp
===================================================================
--- MOAB/branches/parallel_ghosting/parallel/pcomm_unit.cpp 2009-06-03 20:49:14 UTC (rev 2927)
+++ MOAB/branches/parallel_ghosting/parallel/pcomm_unit.cpp 2009-06-03 20:55:17 UTC (rev 2928)
@@ -1811,10 +1811,10 @@
CHECK_ERR(rval);
buffer.clear(); buff_ptr = &buffer[0];
+ ent_verts.clear(); sent_ents.clear();
//========================
// interface, multishared, 1st message, 0->1
- ent_verts.clear();
ent_verts.push_back(verts[0][8]); ent_verts.push_back(verts[0][5]);
ent_verts.push_back(verts[0][5]); ent_verts.push_back(verts[0][2]);
rval = get_entities(mb[0], ent_verts, 2, 1, sent_ents);
@@ -1837,7 +1837,7 @@
entprocs[0].clear(); entprocs[1].clear();
buffer.clear(); buff_ptr = &buffer[0];
- sent_ents.clear();
+ ent_verts.clear(); sent_ents.clear();
//========================
// interface, multishared, 2nd message, 3->1
More information about the moab-dev
mailing list