[cgma-dev] r5135 - cgm/trunk/geom/parallel
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Tue Aug 30 12:48:27 CDT 2011
Author: hongjun
Date: 2011-08-30 12:48:27 -0500 (Tue, 30 Aug 2011)
New Revision: 5135
Modified:
cgm/trunk/geom/parallel/CGMParallelComm.cpp
Log:
o Geometry scatter method dosn't scatter geomtry for master processor
o Passes make check
Modified: cgm/trunk/geom/parallel/CGMParallelComm.cpp
===================================================================
--- cgm/trunk/geom/parallel/CGMParallelComm.cpp 2011-08-30 17:43:33 UTC (rev 5134)
+++ cgm/trunk/geom/parallel/CGMParallelComm.cpp 2011-08-30 17:48:27 UTC (rev 5135)
@@ -205,7 +205,8 @@
PRINT_ERROR("Partitioned entities should have TDParallel data.");
return CUBIT_FAILURE;
}
- balancedLists[td_par->get_charge_proc()]->append(entity);
+ int charge_p = td_par->get_charge_proc();
+ if (charge_p != from_proc) balancedLists[charge_p]->append(entity);
}
// add buffer size for each processors
More information about the cgma-dev
mailing list