The next application shows the result of Finite Element Method use to solve the electric field when an incident wave of amplitude 1 goes through materials of different sizes and permitivities. The mesh is constructed using 48 cells per wavelength.
Click the plot to run/stop the animation. Change the parameters and click the plot to run it again.
Source code can be downloaded here Download link (License: BSD License 2.0)