This code demonstrates two dimensional FDTD simulation including PML absorbing boundary condition. There are two sources that interfere to produce fringe pattern. I have referred and adapted PML from the book :
EM Simulation using the FDTD Method , Dennis M. Sullivan.
Create scripts with code, output, and formatted text in a single executable document.