= WGMR related code = prism_disk_coupling.m - calculates parameters of the beam to be coupled into the disk via prism demo_prism_disk_coupling.m - demo case of the above routine beam_trace.m - calculates beams propagation and their branching on dielectric interfaces (faces) for arbitrary set of beams and faces. example_beam_trace.m - example use of above routine. rest of the code: helper functions