Solve the Maxwell equation in 2D using a finite domain time difference algorithm. The fields are assumed to stay constant in the third direction.
Based on a well-known FDTD algorithm. The author learned about that algorithm from John Schneider's book [1]. In addition the SDL (Simple Directmedia Layer) library version 2 is used to display the waves.
The SDL library is licensed under the zlib license. This project is licensed under the GNU Affero General Public License version 3 or any later version, at your choice.
[1] Understanding the Finite-Difference Time-Domain Method, John B. Schneider, www.eecs.wsu.edu/~schneidj/ufdtd, 2010.