Metric example:
Light propagation along a 90
o
waveguide corner,
driver file:
corner.cpp
Snapshot of the physical optical electric field; the fundamental TE mode enters in the left channel: