


FIND_LINE - ???
this function returns the elements to which the line in the mesh belongs.
Usage:
f=find_line(index,line)

0001 function f=find_line(index,line) 0002 %FIND_LINE - ??? 0003 % 0004 % this function returns the elements to which the line in the mesh belongs. 0005 % 0006 % Usage: 0007 % f=find_line(index,line) 0008 0009 pos=find(index(:,1)==line(1) | index(:,2)==line(1) | index(:,3)==line(1)); 0010 pos2=find(index(pos,1)==line(2) | index(pos,2)==line(2) | index(pos,3)==line(2)); 0011 f=pos(pos2);