[MOAB-dev] r5287 - MOAB/trunk/tools/mbzoltan
hongjun at mcs.anl.gov
hongjun at mcs.anl.gov
Thu Jan 5 15:41:38 CST 2012
Author: hongjun
Date: 2012-01-05 15:41:38 -0600 (Thu, 05 Jan 2012)
New Revision: 5287
Modified:
MOAB/trunk/tools/mbzoltan/MBZoltan.cpp
Log:
o Bug fixed
o Initial partition can be used only for geometry partition
Modified: MOAB/trunk/tools/mbzoltan/MBZoltan.cpp
===================================================================
--- MOAB/trunk/tools/mbzoltan/MBZoltan.cpp 2012-01-05 19:10:16 UTC (rev 5286)
+++ MOAB/trunk/tools/mbzoltan/MBZoltan.cpp 2012-01-05 21:41:38 UTC (rev 5287)
@@ -424,7 +424,9 @@
myZZ->Set_Geom_Multi_Fn(mbGetObject, NULL);
myZZ->Set_Num_Edges_Multi_Fn(mbGetNumberOfEdges, NULL);
myZZ->Set_Edge_List_Multi_Fn(mbGetEdgeList, NULL);
- myZZ->Set_Part_Multi_Fn(mbGetPart, NULL);
+ if (part_geom_mesh_size > 0.) {
+ myZZ->Set_Part_Multi_Fn(mbGetPart, NULL);
+ }
// Perform the load balancing partitioning
More information about the moab-dev
mailing list