https://123dok.net/document/yr3g488y-a-new-spectral-element-method-with-modified-legendre-polynomials-for-modal-analysis-of-lamellar-gratings.html