Subpixel smoothing disabled not working properly? #2756
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
A couple things to note: First, meep doesn't do any subpixel smoothing in voxels containing metals. That's too hard (unfortunately). So you shouldn't expect a difference in these regions regardless of what the flag is set to. Second, those interfaces "look" weird because what meep is "visualizing" as the permittivity is not what you are actually simulating (apples to apples). The permittivity is a tensor, and different components lie on different points of the yee cell. Same with the conductivity. So meep takes the trace of the the tensor within a cell, and plots that. It gets a little hairy when you have dispersive materials/metals (check out the docs on supplying a frequency if you don't have a source specified). |
Beta Was this translation helpful? Give feedback.
Yep. Visualizing this kind of stuff is tricky thanks to both the Yee grid and the frequency-dependent nature of materials. So you do what you can.