fancompute / legume

🌱 Guided-mode expansion of photonic crystal slabs
https://legume.readthedocs.io/
MIT License
104 stars 27 forks source link

Bands of a 1D photonic crystal slab #57

Closed ZhimingShi closed 9 months ago

ZhimingShi commented 9 months ago

Hello, I am having problems reproducing the results in Molding the Flow of Light using this code, I don't know how to set the lattice for this structure. According to the current parameters, the results are quite different from the book. How can I reproduce the results correctly? Here I have uploaded the simulation code(simulation code.zip) image (Chapter07, page128) image (simulation result)

momchil-flex commented 9 months ago

Unfortunately legume is not well fit for nanobeam PhCs, only for 2D slabs, and it is not easy to extend the code towards that application.