Finite Element Analysis Toolbox
GRIDNORMALS Compute normal vectors.
[ N ] = GRIDNORMALS( P, C, B ) Computes an array of normal vectors. P is an array of grid point coordinates and C grid vertex connectivities. B(1,:) specity boundary edges/faces with the fist row givng cell numbers and the second local cell edge/face numbering.