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

- Main Page
- Related Pages
- Files

- File List
- File Members

Functions
base/ElemMassWMatP1.m File Reference

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.

## Detailed Description

Computation of the element weighted mass matrix for -Lagrange finite elements.

Definition in file ElemMassWMatP1.m.

## Function Documentation

function AElem = ElemMassWMatP1 | ( |  | area,
|  |  | w
| ) |  |

Computation of the element weighted mass matrix for -Lagrange finite elements.

Example

              area=1/2.;
              w=ones(3,1);
              AElem=ElemMassWMatP1(area);

Copyright
  See License issues

Parameters:

  area | triangle area
  w | values of the weight function at the triangle vertices, array

Return values:

  AElem | Element weighted mass matrix, matrix

Definition at line 17 of file ElemMassWMatP1.m.

All Files Functions