This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

pdesdp, pdesde, pdesdt

Indices of points/edges/triangles in set of subdomains

pdesdp and pdesdt are not recommended. Use findNodes and findElements instead.


c = pdesdp(p,e,t)
[i,c] = pdesdp(p,e,t)
c = pdesdp(p,e,t,sdl)
[i,c] = pdesdp(p,e,t,sdl)
i = pdesdt(t)
i = pdesdt(t,sdl)
i = pdesde(e)
i = pdesde(e,sdl)


[i,c] = pdesdp(p,e,t,sdl) given mesh data p, e, and t and a list of subdomain numbers sdl, the function returns all points belonging to those subdomains. A point can belong to several subdomains, and the points belonging to the domains in sdl are divided into two disjoint sets. i contains indices of the points that wholly belong to the subdomains listed in sdl, and c lists points that also belongs to the other subdomains.

c = pdesdp(p,e,t,sdl) returns indices of points that belong to more than one of the subdomains in sdl.

i = pdesdt(t,sdl) given triangle data t and a list of subdomain numbers sdl, i contains indices of the triangles inside that set of subdomains.

i = pdesde(e,sdl) given edge data e, it extracts indices of outer boundary edges of the set of subdomains.

If sdl is not given, a list of all subdomains is assumed.

Introduced before R2006a