| OptFEM2DP1 Toolbox V1.2b3 Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D

- Main Page
- Related Pages
- Files

- File List
- File Members

All Files Functions Pages
Functions
ComputeArea.m File Reference

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.

## Detailed Description

Computation of areas of triangles in the mesh - Basic version.

Definition in file ComputeArea.m.

## Function Documentation

function area = ComputeArea | ( |  | q,
|  |  | me
| ) |  |

Computation of areas of triangles in the mesh - Basic version.

Parameters

  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 .

Return values

  area | Array of areas, array. area(k) is the area of the -th triangle.

Definition at line 17 of file ComputeArea.m.