[cgma-dev] r4775 : Getting CAMergePartner attribute info ?

Jason Kraftcheck kraftche at cae.wisc.edu
Fri May 13 13:06:46 CDT 2011


On 05/13/2011 12:50 PM, Hong-Jun Kim wrote:
> Hi,
> 
> After importing merged geometry, I am using "CAMergePartner" attribute to find merged entities for my parallel meshing.
> For example, I use "get_cubit_attrib" as follows and if "att" is not NULL pointer, I decided that the entity is merged.
> 
> ----------------------------------
> CubitAttrib* att = entity->get_cubit_attrib(CA_MERGE_PARTNER, CUBIT_FALSE);
> if (att != NULL) { // entity is merged }
> ----------------------------------
> 
> However, by this revision change, CAMergePartner actuate process is removed because "GeometryQueryTool::check_mergeable_refentity" handles this.
> 
> So, I am wondering how I can know which entities are merged in this revision, then can anybody tell me about it?
> Thanks.
> 

if (surface_ptr->bridge_manager()->number_of_bridges() > 1)
	merged = true;

- jason


More information about the cgma-dev mailing list