OptFEM3DP1 Toolbox  V1.0
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 3D
 All Files Functions Variables Pages
ElemMassVFMat3DBaP1.m
Go to the documentation of this file.
1 function M=ElemMassVFMat3DBaP1(volume)
2 %D=(ones(4,4)+eye(4,4))*volume/20;
3 % Copyright:
4 % See \ref license
5 D=ElemMassMat3DP1D0(volume);
6 M=zeros(12,12);
7 I=[1,4,7,10];
8 for d=1:3
9  M(I,I)=D;
10  I=I+1;
11 end