Metric example:
Light propagation across a single hole in a slab waveguide,
driver file:
hole.cpp
Snapshot of the physical optical electric field; the fundamental TE mode enters in the left channel: