FEATool  v1.8
Finite Element Analysis Toolbox
 All Files Functions Pages
conngrp.m File Reference


CONNGRP Group connected sets.

[ IND_GROUPS, N_GROUPS ] = CONNGRP( C ) Compute index to connected sets in connectivity array C. C may be symmetric or unsymmetric with rows corresponding to the grouping direction. Self referencing (isolated) entries will be omitted. Outputs are the total number of groups N_GROUPS and corresponding index array in IND_GROUPS of size 1 x number of C rows. A zero index indicates a removed only self referenced entry.