Finite Element Analysis Toolbox
ASMGROUPS Determine cell indices for assembly subdomian/cell groups.
[ CGROUPS, N_MAX ] = ASMGROUPS( N_MAX_CELLS, SIND, C ) 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 subdomian each cell belongs to. Returns the cell indices for each group in CGROUPS and the maximum number of cells in all groups in N_MAX. If the optional third input argument C (grid cell connectivties) is given, then groups will be split so that no cells in each group are connected through the vertices.