FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
gridface.m File Reference


GRIDFACE Generate grid cell face numbering.

[ F, FV ] = GRIDFACE( C ) Generates an array F with global face numbers. Input data is an array C with cell connectivities and N_SDIM specifying the number of space dimensions.

Input       Value/(Size)           Description
c           (n_v,n_c)              Cell connectivity pointer array where the
                                   entries in each column correspond to the
                                   cell vertex numbers specifying the cells.
n_sdim      scalar                 Number of space dimensions.
Output      Value/(Size)           Description
f           (n_f,n_c)              Array with global face numbers for all cells.
fv          (n_f,3/4)              Array with indices to vertices for each face.