[cig-commits] r18339 - short/3D/PyLith/trunk/libsrc/topology

brad at geodynamics.org brad at geodynamics.org
Tue May 10 16:10:08 PDT 2011


Author: brad
Date: 2011-05-10 16:10:08 -0700 (Tue, 10 May 2011)
New Revision: 18339

Modified:
   short/3D/PyLith/trunk/libsrc/topology/RefineVol8Face4Edges2.cc
Log:
Another fix for hex8 refinement (from Matt).

Modified: short/3D/PyLith/trunk/libsrc/topology/RefineVol8Face4Edges2.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/topology/RefineVol8Face4Edges2.cc	2011-05-10 19:27:26 UTC (rev 18338)
+++ short/3D/PyLith/trunk/libsrc/topology/RefineVol8Face4Edges2.cc	2011-05-10 23:10:08 UTC (rev 18339)
@@ -392,6 +392,8 @@
         const Obj<mesh_type::send_overlap_type::traits::supportSequence>& nextRanksSeq = oldSendOverlap->support(nextVertex);
         assert(!nextRanksSeq.isNull());
         std::set<int> nextRanks(nextRanksSeq->begin(), nextRanksSeq->end());
+
+	ranks.clear();
         std::set_intersection(curRanks.begin(), curRanks.end(), nextRanks.begin(), nextRanks.end(),
                               std::insert_iterator<std::set<int> >(ranks, ranks.begin()));
         curRanks = ranks;



More information about the CIG-COMMITS mailing list