MCPcopy Create free account
hub / github.com/NanoComp/meep / diffracted_planewave.py

File diffracted_planewave.py

python/examples/diffracted_planewave.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1### compute the transmitted diffraction orders of a binary grating using mode decomposition
2### based on two different methods: (1) MPB eigensolver and (2) DiffractedPlanewave object.
3### Also, verify that the total power in all the orders is equivalent to the Poynting flux.
4### for normal incidence, compute only positive diff. orders (total transmittance <= 0.50)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected