itaps-parallel tiny question
Mark Miller
miller86 at llnl.gov
Thu Feb 28 14:53:38 CST 2008
I have a question on the 'Arr' form of these functions (below)...
void prefix_getPartsArrOnRank(iMesh_Instance instance,
const prefix_PartitionHandle partition_handle,
/*in*/ const int *rank,
/*in*/ const int rank_size,
/*inout*/ prefix_PartHandle **part_handles,
/*inout*/ int *part_handles_allocated,
/*out*/ int *part_handles_size,
int *err);
We pass in an array of ranks and get back an array of part_handles.
How do we know which entries in part_handles go with which rank
in the input list of ranks? I guess we could iterate over the returned
part_handles using prefix_getPartRank.
void prefix_getPartNborsArr(iMesh_Instance instance,
const prefix_PartitionHandle partition_handle,
/*in*/ const prefix_PartHandle *part_handles,
/*in*/ const int part_handles_size,
/*in*/ int entity_type,
/*inout*/ prefix_PartHandle **nbor_part_handles,
/*inout*/ int *nbor_part_handles_allocated,
/*out*/ int *nbor_part_handles_size,
int *err);
In the above, we pass an array of part_handles and get back an
array of neighboring part handles. How do we know which part
handles in nbor_part_handles go with whith entries in part_handles?
Mark
--
Mark C. Miller, Lawrence Livermore National Laboratory
email: mailto:miller86 at llnl.gov
(M/T/W) (925)-423-5901 (!!LLNL BUSINESS ONLY!!)
(Th/F) (530)-753-8511 (!!LLNL BUSINESS ONLY!!)
More information about the itaps-parallel
mailing list