Bent-straight waveguides couplers example

Objective

Define a bent-straight waveguide coupler consisting of Get the transfer (propagation) matrix and the scattering matrix of the above coupler, and plot a real part of y component of electric field.

Example

  1. Make sure that all the required program files are available. See Circurs for more information.
  2. Use the example file "coupler_example.cpp".
  3. Compile the code "coupler_example.cpp" using the script "mo". This will produce an executable "coupler_example".
  4. Run the executable "coupler_example".