itaps-parallel Clarification of iMeshP_getNumPartNborsArr

Carl Ollivier-Gooch cfog at mech.ubc.ca
Mon Nov 10 19:01:05 CST 2008


Jason Kraftcheck wrote:
> Does iMeshP_getNumPartNborsArr return the sum of the result of
> iMeshP_getNumPartNbors for each part, or the size of the difference of the
> union of the results of iMeshP_getPartNbors for each part with the input
> list?  For example, if I have three parts arranged such that each neighbors
> both other parts and I pass in two of the parts to
> iMeshP_getNumPartNborsArr, is the result:
>  1) 1 because there is one part not in the input list that is adjacent to
>      at least one part in the input list
>  2) 4 because each part in the input list has two adjacent parts

I thought it was

    3) an array that lists the number of part neighbors for each part 
(so (2,2) in this case).  But my understanding may be incompatible with 
the call list.

Carl

-- 
------------------------------------------------------------------------
Dr. Carl Ollivier-Gooch, P.Eng.                   Voice: +1-604-822-1854
Associate Professor                                 Fax: +1-604-822-2403
Department of Mechanical Engineering             email: cfog at mech.ubc.ca
University of British Columbia              http://www.mech.ubc.ca/~cfog
Vancouver, BC  V6T 1Z4                  http://tetra.mech.ubc.ca/ANSLab/
------------------------------------------------------------------------



More information about the itaps-parallel mailing list