This is a tutorial file with a simulation of a dipole emitter inside an elliptical lens using the free FDTD software meep.
This is a tutorial file with a simulation of a dipole emitter close to a dielectric surface and calculation of the far field emission pattern.