OptFEM2D
0.1
Matlab optimized FEM2D
Main Page
Related Pages
Modules
Files
File List
File Members
All
Files
Functions
Groups
Pages
ElemMassMatP1.m
Go to the documentation of this file.
1
function
AElem=
ElemMassMatP1
(area)
2
%
function
AElem=ElemMassMat(area)
3
% Computation of the element mass matrix
for
a triangle with area
'area'
4
%
5
% Parameters:
6
% area: triangle area
7
%
8
% Return values:
9
% AElem: `3\times 3` matrix
10
%
11
AElem=(area/12)*[2 1 1; 1 2 1; 1 1 2];
base
ElemMassMatP1.m
Generated on Thu Dec 20 2012 18:39:53 for OptFEM2D by
1.8.2