3 % Computation of the lengths of edges in the mesh - Basic version
6 % be: Connectivity array for boundary edges, `2\times\nbe` array.<br/>
7 % `\be(\il,l)` is the storage index of the
8 % `\il`-th vertex of the `l`-th edge in the array `\q` of vertices coordinates, `\il\in\{1,2\}` and
9 % `l\in{\ENS{1}{\nbe}}`.
10 % q: Array of vertices coordinates, `2\times\nq` array. <br/>
11 % `{\q}(\il,j)` is the
12 % `\il`-th coordinate of the `j`-th vertex, `\il\in\{1,2\}` and
16 % lbe: Array of edges lengths, `1\times\nbe` array (
double). `lbe(j)` is the length of the `j`-th edge.
18 % OptFEM2DP1 [V1.2b1] - Copyright (C) 2013 CJS (LAGA)
20 % This file is part of OptFEM2DP1.
21 % OptFEM2DP1 is free software: you can redistribute it and/or modify
22 % it under the terms of the GNU General Public License as published by
23 % the Free Software Foundation, either version 3 of the License, or
24 % (at your option) any later version.
26 % OptFEM2DP1 is distributed in the hope that it will be useful,
27 % but WITHOUT ANY WARRANTY; without even the implied warranty of
28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 % GNU General Public License
for more details.
31 % You should have received a copy of the GNU General Public License
32 % along with
this program. If not, see <http:
37 lbe(i)=norm(q(:,be(1,i)) - q(:,be(2,i)),2);