OptFEM3DP1 Toolbox: ElemMat/ElemMassVFMat3DBbP1.m Source File

| OptFEM3DP1 Toolbox 20130618_070730 Matlab/Octave Optimized P1-Lagrange Finite Element Method in 3D

- Main Page
- Related Pages
- Files

- File List
- File Members

All Files Functions Variables Pages
ElemMassVFMat3DBbP1.m
Go to the documentation of this file.
1 function M=ElemMassVFMat3DBbP1(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
8 I=1:4;
9 for d=1:3
10 M(I,I)=D;
11 I=I+4;
12 end