| OptFEM2DP1 Toolbox 1.2b4 Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D

- Main Page
- Related Pages
- Files

- File List
- File Members

Functions
Opt/ComputeAreaOpt.m File Reference

Computation of areas of triangles in the mesh. More...

Go to the source code of this file.

## Functions
function area = | ComputeAreaOpt (q, me)
| Computation of areas of triangles in the mesh.

## Detailed Description

Computation of areas of triangles in the mesh.

- Optimized version

Definition in file ComputeAreaOpt.m.

## Function Documentation

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

Computation of areas of triangles in the mesh.

- Optimized 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.
  Copyright | See License issues

Definition at line 17 of file ComputeAreaOpt.m.

All Files Functions