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

Filters do not allow different design-grid resolutions in different directions #2597

Open mawc2019 opened 11 months ago

mawc2019 commented 11 months ago

Each filter function in filters.py only supports a single resolution of the design grid, but sometimes the resolutions in different directions are not the same. Shall we allow the resolution argument in those filters to accept a tuple, so that different resolutions along different directions can be supported?

smartalecH commented 11 months ago

Yes please.

mawc2019 commented 11 months ago

This issue is handled in PR #2599.