FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
grid_cell_type.m File Reference

Description

GRID_CELL_TYPE Determine grid cell type.

[ CELL_TYPE, N_SDIM, N_VC ] = GRID_CELL_TYPE( VARARGIN ) Determines the cell type from cell vertex connectivity array C, or alternatively the number of space dimensions N_SDIM, and the number of vertices per cell N_VC. Returns the CELL_TYPE, N_SDIM, and N_VC. Also assigns the cell_type integer code variables (LINE, TRI, QUAD, TET, and HEX) in the workspace of the caller function.