itaps-parallel A question about iMeshP interface functions

txie at scorec.rpi.edu txie at scorec.rpi.edu
Wed Aug 13 14:47:02 CDT 2008


Dear all,

I have a question about the design of some iMeshP Entity interface
functions. This question is relative to the real execution performance.

Some iMeshP Entity interface functions provide two input arguments:
entity_handle and partition_handle. The specification requires that one
function returns an error code if an entity is not in the partition. But
the question is how to decide whether an entity is in the partition since
entity_handle (iBase_EntityHandle) may be not globally unique in the
partition.

I can think of one way in FMDB implementation:
 * Get all the local_part_handles in the partition,
 * Then get the mesh within each local part,
 * Iterate all mesh entities of all dimensions in each part mesh,
 * Check if the given entity_handle equals any mesh entity. If yes,
entity_handle is valid and local. Otherwise, it is not valid.

But this way is not time efficient in the real performance.

Please let me know if I make any mistakes or you have any problems about
this question. Thanks.

Regards,

Ting









More information about the itaps-parallel mailing list