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

Description

GRIDBDR1 Generate grid boundary information for one dimensional cells.

[ B ] = GRIDBDR1( P, C, A ) Given arrays P, C and A with cell connectivities and adjacency information generates an array with boundary information.

Input       Value/(Size)           Description
-----------------------------------------------------------------------------------
p           (1,n_p)                Coordinate array for grid vertices
c           (2,n_cells)            Cell connectivity pointer array where the
                                   entries in each column correspond to the
                                   cell vertex numbers.
a           (2,n_cells)            Array with cell adjacency pointers where
                                   the entries in each column correspond to
                                   the neighbouring cell number for each
                                   edge. A zero entry indicates that the edge
                                   belongs to a boundary.
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
b           (4,n_b)                Array with boundary information, first row
                                   gives the cell number, second the cell edge
                                   number, the third the boundary number, and
                                   the last row the outward normal.
See also
GRIDBDR.