pub(super) fn port_boundary<const N: usize>(
ks: [Jet<N>; 2],
z: Jet<N>,
q: [Jet<N>; 2],
axis: usize,
) -> Result<[[[Jet<N>; 4]; 2]; 2]>Expand description
Tangential fields [E_a, E_b, H_a, H_b] of the plane waves in one medium, indexed
by propagation direction (0 = up) and polarization; a and b are the two axes
after axis in cyclic order.