pdetrg - Triangle geometry data
Syntax
[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. For details on the mesh data representation,
see initmesh.
 | pdetool | | pdetriq |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit