![]() |
OptFEM2DP1 Toolbox
1.2b4
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
|
Computation of the element weighted mass matrix for
-Lagrange finite elements.
More...
Go to the source code of this file.
Functions | |
| function AElem = | ElemMassWMat2DP1 (area, w) |
Computation of the element weighted mass matrix for -Lagrange finite elements. | |
Computation of the element weighted mass matrix for
-Lagrange finite elements.
Definition in file ElemMassWMat2DP1.m.
| function AElem = ElemMassWMat2DP1 | ( | area, | |
| w | |||
| ) |
Computation of the element weighted mass matrix for
-Lagrange finite elements.
area=1/2.;
w=ones(3,1);
AElem=ElemMassWMat2DP1(area);
| area | triangle area |
| w | values of the weight function at the triangle vertices, array |
| AElem | Element weighted mass matrix, matrix |
Definition at line 17 of file ElemMassWMat2DP1.m.