5 % volumess : vector 1 x nme (elements volume)
9 % Compute P1-Lagrange Kg array for Mass matrix (see report).
10 % Numbering of local points in reference element is :
11 % P=[(0, 0, 0), (1, 0, 0), (0, 1, 0), (0, 0, 1)]
12 %----------------------------------------
13 % Automatic generation with sage
14 % (c) Cuvelier F. email:cuvelier@math.univ-paris13.fr
18 Kg=zeros(ndf*ndf,length(volumes));
31 Kg([5, 9, 10, 13, 14, 15],:)=Kg([2, 3, 7, 4, 8, 12],:);