flexcompute / tidy3d

Fast electromagnetic solver (FDTD) at scale.
https://www.flexcompute.com/tidy3d/solver/
GNU Lesser General Public License v2.1
162 stars 40 forks source link

Strange PML plotting in 2D #1708

Open tylerflex opened 1 month ago

tylerflex commented 1 month ago
image

for more details refer to https://flow360.atlassian.net/browse/SCEM-6289

momchil-flex commented 1 month ago

Off the top of my head this is probably something to do with 2D simulations still being assigned a non-zero dl along the 0-dim, while PMLs are just plotted with effectively 0 width.

Frank-DingYC commented 1 month ago

Yes, the problem is exactly what you describe. However, the structures are with 0-dim too while they still have some width. Could we just make the PML and structures look the same?