Partial Differential Equations Toolbox |
 |
pdetrg
Triangle geometry data.
Synopsis
[ar,a1,a2,a3]=pdetrg(p,t)
[ar,g1x,g1y,g2x,g2y,g3x,g3y]=pdetrg(p,t)
Description
[ar,a1,a2,a3]=pdetrg(p,t)
returns the area of each triangle in ar
and half of the negative cotangent of each angle in a1
, a2
, and a3
.
[ar,g1x,g1y,g2x,g2y,g3x,g3y]=pdetrg(p,t)
returns the area and the gradient components of the triangle base functions.
The triangular mesh of the PDE problem is given by the mesh data p
and t. Details on the mesh data representation can be found in the entry on initmesh
.
 | pdetool | | pdetriq |  |