photonic crystal matlab code
ties. In PWE, it is expanded as a Fourier series: \[ \epsilon(\mathbf{r}) = \sum_\mathbf{G} \epsilon_\mathbf{G} e^{i \mathbf{G} \cdot \mathbf{r}} \] where \(\mathbf{G}\) are reciprocal lattice vectors. Implementation details: Define a grid of Fourier com