OptFEM2D  0.1
Matlab optimized FEM2D
 All Files Functions Groups Pages
GetMaxLengthEdges.m
Go to the documentation of this file.
1 function h=GetMaxLengthEdges(q,me)
2 U=q(:,me(1,:))-q(:,me(2,:));
3 V=q(:,me(2,:))-q(:,me(3,:));
4 W=q(:,me(3,:))-q(:,me(1,:));
5 
6 h=sqrt(max([sum(U.^2,1),sum(W.^2,1),sum(W.^2,1)]));
7