itaps-parallel A question about iMeshP interface functions

Vitus Leung vjleung at sandia.gov
Mon Aug 18 11:43:18 CDT 2008


Ting,

I am ready to start converting the Zoltan interface to iMeshP for FMDB.
How do I get a copy of the code?  I tried to update my copy of FMDB, and
it did not work.  I do not recall if I actually checked out the code
before or got a copy some other way.

Vitus

On Wed, 2008-08-13 at 13:47 -0600, 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