-
Notifications
You must be signed in to change notification settings - Fork 758
Description
Hello,
I'd like to report what seems to be a bug I've noticed for the subpixel averaging of outer edges of prisms with large inner surfaces. For example, a prism with a narrow opening and large inner surface (such as the shape drawn below) will have the issue:
The issue seems to be that when meep (or libctl) builds the structure or does the subpixel averaging, some regions of the polygon have a shorter dimension than others, as shown by looking at slices:
This issue becomes especially problematic when the prism thickness is on the order of a few pixels. I have attached a MWE to help reproduce the issue above, as well as shows another example with issues generating the following polygon (of width 2 pixels large):
Let me know if I can provide any other information. Sorry I can't be of more help in finding the source of the issue. I'm still looking through meep/libctl to understand how things work.




