Before starting scattering simulation check that refractive index has reasonable magnitude (#715)
Compare changes
Files
5+ 4
− 4
@@ -81,10 +81,10 @@ void Material::checkRefractiveIndex(double wavelength) const
Restricts Re(n) to 0.9 .. 1.1. We shall see whether all use cases fall within this range.
This resolves #715 (closed).