I have written code in Python for 1D FDTD for PEC (left) and PMC (right) at the boundaries of the grids.
Now, I need to introduce magnetic dipole souce in the grid, which will change my update equation in line 46 (code attached).
How to introduce this magnetic dipole source and how to plot it (to prove)?
Urgent!!