3 % Definition of the arrays Ig and Jg, depending on the
4 % parameter Num of global numbering of degrees of freedom.
7 % Num: Choice of the numbering of degrees of freedom
8 % - 0 local numbering (classical method)
10 % nq: total number of vertices, also denoted by `\nq`.
11 % me: Connectivity array, `3\times\nme` array.<br/>
12 % `\me(\jl,k)` is the storage index of the
13 % `\jl`-th vertex of the `k`-th triangle in the array `\q` of vertices coordinates, `\jl\in\{1,2,3\}` and
14 % `k\in{\ENS{1}{\nme}}`.
17 % Ig : Array of indices, 2ndf-by-nmef array
18 % Jg : Array of indices, 2ndf-by-nmef array
23 GetI=@(me) [2*me(1,:)-1; 2*me(1,:); 2*me(2,:)-1; 2*me(2,:); 2*me(3,:)-1; 2*me(3,:)];
25 GetI=@(me) [me(1,:); me(1,:)+nq; me(2,:); me(2,:)+nq; me(3,:); me(3,:)+nq];
27 GetI=@(me) [2*me(1,:)-1; 2*me(2,:)-1; 2*me(3,:)-1; 2*me(1,:); 2*me(2,:); 2*me(3,:)];
29 GetI=@(me) [me(1,:); me(2,:); me(3,:); me(1,:)+nq; me(2,:)+nq; me(3,:)+nq];