edmundsj / rcwa

Rigorous Coupled Wave Analysis for the calculation of Photonic Crystal R/T spectra
MIT License
93 stars 29 forks source link

I suspect dispersive materials will not work with periodic structures #32

Open edmundsj opened 2 years ago

edmundsj commented 2 years ago

Currently, I don't think the way permittivity and permeability are accessed internally allows for this. This would require assigning a set of Materials at a large number of discrete points, which should be doable as long as there are not a large number of materials. Typically, there are only two, and each point will be assigned one of those two materials. That does not sound too difficult to implement. It should be implemented and tests should be written.