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 | 3 rokov pred | |
---|---|---|
.gitignore | 8 rokov pred | |
LICENSE | 9 rokov pred | |
Makefile | 3 rokov pred | |
README.md | 7 rokov pred | |
abctmz.c | 3 rokov pred | |
abctmz.h | 3 rokov pred | |
ezinc.h | 3 rokov pred | |
grid1dez.c | 3 rokov pred | |
grid1dez.h | 3 rokov pred | |
gridtmz.c | 3 rokov pred | |
gridtmz.h | 3 rokov pred | |
incident.c | 3 rokov pred | |
incident.h | 3 rokov pred | |
material.c | 3 rokov pred | |
material.h | 3 rokov pred | |
plot2d.c | 3 rokov pred | |
plot2d.h | 3 rokov pred | |
plotWindow.c | 3 rokov pred | |
plotWindow.h | 3 rokov pred | |
ricker.c | 3 rokov pred | |
snapshot2d.c | 3 rokov pred | |
snapshot2d.h | 3 rokov pred | |
source.c | 3 rokov pred | |
source.h | 3 rokov pred | |
tfsftmz.c | 3 rokov pred | |
tfsftmz.h | 3 rokov pred | |
tmzdemo2.c | 3 rokov pred | |
updatetmz.c | 3 rokov pred | |
updatetmz.h | 3 rokov pred |
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.