MCPcopy Create free account
hub / github.com/NanoComp/meep / material-dispersion.py

File material-dispersion.py

python/examples/material-dispersion.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Material dispersion example, from the Meep tutorial. Here, we simply
2# simulate homogenous space filled with a dispersive material, and compute
3# its modes as a function of wavevector k. Since omega/c = k/n, we can
4# extract the dielectric function epsilon(omega) = (ck/omega)^2.

Callers

nothing calls this directly

Calls 2

interpolateMethod · 0.80
run_k_pointsMethod · 0.80

Tested by

no test coverage detected