Partial Differential Equations Toolbox | ![]() ![]() |
Interpolate from triangle midpoint data to node data.
un=pdeprtni(p,t,ut)
Description
un=pdeprtni(p,t,ut)
gives linearly interpolated values at node points from the values at triangle midpoints.
p
and t. Details on the mesh data representation can be found in the entry on initmesh
.
Let N be the dimension of the PDE system, np the number of node points, and nt the number of triangles. The components of triangle data in ut
are stored as N rows of length nt. The components of the node data are stored in un
as N columns of length np.
Cautionary
pdeprtni
and pdeintrp
are not inverse functions. The interpolation introduces some averaging.
See Also
assempde
, initmesh
, pdeintrp
![]() | pdepoly | pderect | ![]() |