Finite Element Analysis Toolbox
ASMGROUPS Determine cell indices for assembly subdomian/cell groups.
[ CGROUPS, N_MAX ] = ASMGROUPS( N_MAX_CELLS, SIND ) Determines the cell indices for the assembly cell groups with no more than N_MAX_CELLS in each group. SIND is the integer vector indexing which subdomain each cell belongs to. Returns the cell indices for each group in CGROUPS and the maxmum number of cells in all groups in N_MAX.