itaps-parallel A question about iMeshP interface functions

Mark Shephard shephard at scorec.rpi.edu
Wed Aug 13 15:00:55 CDT 2008


Please note that if there is the requirement to do the highly 
inefficient method indicated above I see real problems with having 
people accepting iMeshP implementations and using them since they will 
be so inefficient compared to other implementations that reliably 
provide them the functionality they need.



txie at scorec.rpi.edu wrote:
> 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