NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.17k stars 598 forks source link

Bug fix and minor improvement to mode-converter example for adjoint optimization #2636

Closed oskooi closed 10 months ago

oskooi commented 10 months ago

A couple of improvements to Tutorial/Adjoint Solver/Broadband Waveguide Mode Converter with Minimum Feature Size:

  1. Fixes an off-by-one bug in the design-region dimensions introduced by #2504.
  2. Mentions requirement of NLopt version 2.7.0 or higher due to the use of nlopt.opt.set_param feature.