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