Arguments: | |
zz | A pointer to the Zoltan_Struct to be used in the load-balancing algorithm. |
part_sizes | Input: an array of part sizes for each weight component. Entry part_sizes[i*obj_weight_dim+j] contains the user-requested part size for part i with respect to object weight j for i=0,1,...,number of parts-1, and j=0,1,...,obj_weight_dim-1. If the application sets parameter OBJ_WEIGHT_DIM, obj_weight_dim is the set value of OBJ_WEIGHT_DIM; otherwise, obj_weight_dim is one. |
num_import | Upon return, the number of objects to be imported to the processor for the new decomposition. A negative number indicates that no import data has been computed and the import arrays should be ignored. |
import_global_ids | Upon return, an array of num_import global IDs of objects to be imported to the processor for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
import_local_ids | Upon return, an array of num_import local IDs of objects to be imported to the processor for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
import_procs | Upon return, an array of size num_import containing the processor IDs of processors owning (in the old decomposition) the objects to be imported for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
import_to_parts | Upon return, an array of size num_import containing the part IDs of parts to which objects will be imported in the NEW decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
num_export | Upon return, the number of objects to be exported from the processor for the new decomposition. A negative number indicates that no export data has been computed and the export arrays should be ignored. |
export_global_ids | Upon return, an array of num_export global IDs of objects to be exported from the processor for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
export_local_ids | Upon return, an array of num_export local IDs of objects to be exported from the processor for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
export_procs | Upon return, an array of size num_export containing the processor IDs of processors owning (in the old decomposition) the objects to be exported for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
export_to_parts | Upon return, an array of size num_export containing the part IDs of parts to which the objects will be exported for the new decomposition. If this array is non-null, it must be allocated by Zoltan_Special_Malloc. |
Returned Value: | |
int | Error code. |