facebookresearch / fmmax

Fourier modal method with Jax
MIT License
101 stars 11 forks source link

Fix photonic crystal permittivity #36

Closed mfschubert closed 1 year ago

mfschubert commented 1 year ago

The crystal example currently models a dielectric slab rather than a photonic crystal, due to a bug in the definition of the photonic crystal permittivity. This PR fixes the bug, updates the regression tests, and updates the repo figure.