OptFEM2D  0.1
Matlab optimized FEM2D
 All Files Functions Groups Pages
ElemStiffMatP1.m File Reference

Computation of the element stiffness matrix for a triangle with vertices q1,q2,q3 and area area More...

Go to the source code of this file.

Functions

function AElem = ElemStiffMatP1 (q1, q2, q3, area)
 Computation of the element stiffness matrix for a triangle with vertices q1,q2,q3 and area area
 

Detailed Description

Computation of the element stiffness matrix for a triangle with vertices q1,q2,q3 and area area

Definition in file ElemStiffMatP1.m.

Function Documentation

function AElem = ElemStiffMatP1 (   q1,
  q2,
  q3,
  area 
)

Computation of the element stiffness matrix for a triangle with vertices q1,q2,q3 and area area

Parameters
q1$2\times 1$ array, first vertex of the triangle,
q2$2\times 1$ array, second vertex of the triangle,
q3$2\times 1$ array, third vertex of the triangle,
areatriangle area
Return values
AElem$3\times 3$ matrix

Definition at line 17 of file ElemStiffMatP1.m.