[MOAB-dev] r5207 - MOAB/trunk/src/parallel/moab

hongjun at mcs.anl.gov hongjun at mcs.anl.gov
Fri Nov 11 11:39:57 CST 2011


Author: hongjun
Date: 2011-11-11 11:39:56 -0600 (Fri, 11 Nov 2011)
New Revision: 5207

Modified:
   MOAB/trunk/src/parallel/moab/ParallelComm.hpp
Log:
o Inside "get_comm_procs", turned on an option to get "buffProcs"
o If it is not turned on, "exchange_tags" looks working between currently setted shared processors. It looks a bug.
o Passes make check


Modified: MOAB/trunk/src/parallel/moab/ParallelComm.hpp
===================================================================
--- MOAB/trunk/src/parallel/moab/ParallelComm.hpp	2011-11-07 23:20:12 UTC (rev 5206)
+++ MOAB/trunk/src/parallel/moab/ParallelComm.hpp	2011-11-11 17:39:56 UTC (rev 5207)
@@ -251,6 +251,7 @@
      */
   ErrorCode exchange_owned_meshs(std::vector<unsigned int>& exchange_procs,
                                  std::vector<Range*>& exchange_ents,
+                                 std::map<std::vector<int>, std::vector<EntityHandle> >& proc_nvecs,
                                  bool store_remote_handles,
                                  bool wait_all = true,
                                  bool migrate = false);
@@ -1414,7 +1415,7 @@
   
 inline ErrorCode ParallelComm::get_comm_procs(std::set<unsigned int> &procs) 
 {
-  ErrorCode result = get_interface_procs(procs);
+  ErrorCode result = get_interface_procs(procs, true);
   if (MB_SUCCESS != result) return result;
 
   std::copy(buffProcs.begin(), buffProcs.end(), std::inserter(procs, procs.begin()));
































More information about the moab-dev mailing list