OptFEM2D
0.1
Matlab optimized FEM2D
Main Page
Related Pages
Modules
Files
File List
File Members
All
Files
Functions
Groups
Pages
EdgeLength.m
Go to the documentation of this file.
1
%****f* FEM/
EdgeLength
2
% NAME
3
%
EdgeLength
4
% USE
5
% lbe=
EdgeLength
(be,q)
6
% DESCRIPTION
7
% Computation of edge lengths
8
% INPUTS
9
%
10
% OUTPUT
11
%
12
% RETURN VALUE
13
%
14
% EXAMPLE
15
%
16
% CREATION DATE
17
% January 14th 2004
18
% MODIFICATION HISTORY
19
% None
20
% NOTES
21
% Unoptimized
22
% AUTHOR
23
% Cuvelier F., cuvelier@math.univ-paris13.fr
24
% SOURCE
25
%
26
function lbe=
EdgeLength
(be,q)
27
nbe=size(be,2);
28
lbe=zeros(1,nbe);
29
for
i=1:nbe
30
lbe(i)=norm(q(:,be(1,i)) - q(:,be(2,i)),2);
31
end
32
%*****
base
EdgeLength.m
Generated on Thu Dec 20 2012 18:39:53 for OptFEM2D by
1.8.2