PyStratify against Meep: cylindrical coordinates, dipole on the axis (m = 0 perpendicular, m = 1 parallel)
- Reference
- Meep, cylindrical coordinates, dipole on the axis (m = 0 perpendicular, m = 1 parallel)
- Kind
- code: another group's code
- Calculated
- total rate 100 nm above 200 nm of n = 2.3 on glass (a guide), 0.61–1.18 µm; a different method, so it also checks the Sommerfeld formulation
- Agreement
- converges at about first order: worst 16.9% → 7.4% → 3.7% at 25–100 px/µm; asserted: < 5% at 100 and closer than 25
perpendicular, PyStratify
parallel, PyStratify
perpendicular, Meep
parallel, Meep
Hover to read values.
- largest relative difference (the grid's error):
- PyStratify the lines, the reference the circles
Run it yourself: fdtd_meep.py · test_fdtd_meep.py · figures.py · FDTD_MEEP.md on GitHub, PyStratify 97e52a9