Closed krober10nd closed 3 years ago
Can the Example_12 work without the user clicking on plot? Would prefer that we have the option for a function input that would make the clicking unnecessary (provides the hole number), but if this function input is not used then it requires clicking/user inline input.
I knew you were going to say that.
Okay, so now by default it will extract the polygon of the extracted subdomain automatically without user clicking. If the user passes auto=0
to the msh.get_poly
method, then it will display the figure for you to click (for more complex non-obvious cases).
I also expanded the patch in the example so it shows how the code takes into the OM mesh sizing function.
msh.get_poly()
to extract a polygon from a hole in the mesh.mesh2d
tools to remesh the polygon exactly.