Metric example
Resonance in a square dielectric cavity with two parallel port waveguides
sqrres.cpp
(driver file)
Snapshot of the physical optical electric field; the fundamental TE mode is launched in the lower left channel: