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 specify boundary edges/faces with the fist row B(1,:) indicating cell numbers and the second B(2,:) local cell edge/face numbering.