![]() |
OptFEM2DP1 Toolbox
1.2b4
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
|
Computation of areas of triangles in the mesh - Basic version. More...
Go to the source code of this file.
Functions | |
| function area = | ComputeArea (q, me) |
| Computation of areas of triangles in the mesh - Basic version. | |
Computation of areas of triangles in the mesh - Basic version.
Definition in file ComputeArea.m.
| function area = ComputeArea | ( | q, | |
| me | |||
| ) |
Computation of areas of triangles in the mesh - Basic version.
| q | Array of vertices coordinates, array. is the -th coordinate of the -th vertex, and |
| me | Connectivity array, array. is the storage index of the -th vertex of the -th triangle in the array of vertices coordinates, and . |
| area | Array of areas, array. area(k) is the area of the -th triangle. |
Definition at line 17 of file ComputeArea.m.