Example with a sphere of radius 2 wavelength and relative permittivity
1.5 illuminated with a Gaussian beam wth a waist of 2 wavelength.
Full image of the user interface of the code.
One can see the different possibility of the code, and below we plot all the data with matlab.
style="width: 100%; height: auto;"