Solve the Maxwell equation in 2D using a finite domain time difference algorithm. Fields are constant in third direction.

Emilia L.K. Blåsten 2fc52c4130 Fix linker issues %!s(int64=3) %!d(string=hai) anos
.gitignore 170e188464 Make svg file showing dependency tree %!s(int64=8) %!d(string=hai) anos
LICENSE 65d010275b Readme and license %!s(int64=9) %!d(string=hai) anos
Makefile 2fc52c4130 Fix linker issues %!s(int64=3) %!d(string=hai) anos
README.md 4c38267fdc Make sure all files mention that the license version can be updated by the user %!s(int64=6) %!d(string=hai) anos
abctmz.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
abctmz.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
ezinc.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
grid1dez.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
grid1dez.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
gridtmz.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
gridtmz.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
incident.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
incident.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
material.c cf0aa344e3 Change coefficient %!s(int64=3) %!d(string=hai) anos
material.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
plot2d.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
plot2d.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
plotWindow.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
plotWindow.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
ricker.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
snapshot2d.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
snapshot2d.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
source.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
source.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
tfsftmz.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
tfsftmz.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
tmzdemo2.c 87d93954ea Make the resolution larger %!s(int64=3) %!d(string=hai) anos
updatetmz.c 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos
updatetmz.h 142457c959 Update copyright %!s(int64=3) %!d(string=hai) anos

README.md

FDTD_2D_Maxwell

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.