Metric example:
A crossing of two perpendicular waveguides,
driver file:
cross.cpp
Snapshot of the physical optical electric field; the fundamental TE mode is launched in the left channel: