How do I get edges for a given boundary segment in PDE Toolbox?

13 次查看(过去 30 天)
I have created a geometry, set boundary conditions, and generated a mesh with pdetool. I have exported these quantities to the workspace in the variables g, b, p, e, and t.
In boundary mode in pdetool, one can view numeric labels associated with each boundary segment. Is there a way to get all the edges from the array e for a given boundary segment?
Note, the function pdesde will get edges associated with a subdomain, but I only have one subdomain. I need edges associated with a boundary segment.
Thanks in advance, Paul

采纳的回答

Paul Constantine
Paul Constantine 2011-7-1
Aha. In the initmesh documentation:
"In the Edge matrix e, the first and second rows contain indices of the starting and ending point, the third and fourth rows contain the starting and ending parameter values, the fifth row contains the edge segment number, and the sixth and seventh row contain the left- and right-hand side subdomain numbers."
Just another case of RTFM.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by