Finite Element Analysis Toolbox
GRIDBFSTF Find starting face.
[ IX ] = GRIDBFSTF( CELLS, FACES, LOCAL_VERTICES_PER_FACE ) Finds edge or face connected to the least amount of vertices. CELLS is an array of vertex connectivities corresponding to each face in FACES. FACES is a vector of face numbers for belonging to a boundary. LOCAL_VERTICES_PER_FACE is an array with local vertex numbering per face. Output IX is a number corresponding to the found column in CELLS/FACES.