![]() |
OptFEM2DP1 Toolbox
V1.2b3
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 = | ElemMassWMatP1 (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 ElemMassWMatP1.m.
| function AElem = ElemMassWMatP1 | ( | area, | |
| w | |||
| ) |
Computation of the element weighted mass matrix for
-Lagrange finite elements.
area=1/2.;
w=ones(3,1);
AElem=ElemMassWMatP1(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 ElemMassWMatP1.m.