NanoComp / meep

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

refactor KDEF macros into meep_internals.hpp #2583

Closed stevengj closed 1 year ago

stevengj commented 1 year ago

We want to use them in step_db.cpp for the cylindrical updates.

stevengj commented 1 year ago

Regarding https://github.com/NanoComp/meep/pull/2538#issuecomment-1639485464, after this PR you should just need DEF_k and DEF_ku to replace int k = ... and int ku = ...