The set_facets method takes an additional optional argument: a list of
facet markers. This will automatically mark the boundary points with a
facet marker (corresponding to the facet that they are a part of), while
interior points will be marked as 0.
On Wed Dec 03 2014 at 10:17:24 AM liubenyuan <byliu(a)fmmu.edu.cn> wrote:
The attachment is a demo in generating the cross-section of co-axial
square transmission line, however the default point_markers from
mesh.point_markers are only sequances of [1,0], where 1 denotes the
boundary (both inner transmission line and outter) and 0 denotes the
internal nodes. Is there any method in calling meshpy, that can generate
meaningful point_markers in range [0,1,2], 1 for nodes on the inner, 2 for
nodes on the outter, and 0 for internal nodes ?
I hack, I build, I re-invent :)
MeshPy mailing list