Efficient electromagnetic solver based on rigorous coupled-wave analysis for 3D and 2D multi-layered structures with in-plane periodicity, such as gratings, photonic-crystal slabs, metasurfaces, surface-emitting lasers, nano-antennas, and more.
GNU Affero General Public License v3.0
44
stars
16
forks
source link
Adding Multiple Patterns To Layers Sometimes Removes Prior Patterns From Simulation #7
I found that adding multiple patterns to a layer would, inconsistently, remove prior ones. They are not literally removed, as they are still listed within the Layer object, but they no longer impact the simulation. It also appears to depend on the order in which the objects are added.
I've written a simple script that adds 4 rectangle patterns to a layer in a simulator. When UPPER RIGHT is added first, all four patterns appear in ReconstructLayer. If UPPER RIGHT is added last, it is the only one to appear. Nothing else is changed aside from moving that AddPatternRectangle from the beginning to the end.
I found that adding multiple patterns to a layer would, inconsistently, remove prior ones. They are not literally removed, as they are still listed within the Layer object, but they no longer impact the simulation. It also appears to depend on the order in which the objects are added.
I've written a simple script that adds 4 rectangle patterns to a layer in a simulator. When UPPER RIGHT is added first, all four patterns appear in ReconstructLayer. If UPPER RIGHT is added last, it is the only one to appear. Nothing else is changed aside from moving that AddPatternRectangle from the beginning to the end.