edmundsj / rcwa

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

Warn users when running simulation involving extrapolation #17

Closed edmundsj closed 2 years ago

edmundsj commented 3 years ago

Currently, the software happily extrapolates indices outside an n/k table when using dispersive materials. This should give a warning at the beginning of a simulation (during Solve()).

edmundsj commented 2 years ago

Fixed in 6adcfeb