Solve the Maxwell equation in 2D using a finite domain time difference algorithm. Fields are constant in third direction.
|
il y a 3 ans | |
---|---|---|
.gitignore | il y a 8 ans | |
LICENSE | il y a 9 ans | |
Makefile | il y a 3 ans | |
README.md | il y a 6 ans | |
abctmz.c | il y a 3 ans | |
abctmz.h | il y a 3 ans | |
ezinc.h | il y a 3 ans | |
grid1dez.c | il y a 3 ans | |
grid1dez.h | il y a 3 ans | |
gridtmz.c | il y a 3 ans | |
gridtmz.h | il y a 3 ans | |
incident.c | il y a 3 ans | |
incident.h | il y a 3 ans | |
material.c | il y a 3 ans | |
material.h | il y a 3 ans | |
plot2d.c | il y a 3 ans | |
plot2d.h | il y a 3 ans | |
plotWindow.c | il y a 3 ans | |
plotWindow.h | il y a 3 ans | |
ricker.c | il y a 3 ans | |
snapshot2d.c | il y a 3 ans | |
snapshot2d.h | il y a 3 ans | |
source.c | il y a 3 ans | |
source.h | il y a 3 ans | |
tfsftmz.c | il y a 3 ans | |
tfsftmz.h | il y a 3 ans | |
tmzdemo2.c | il y a 3 ans | |
updatetmz.c | il y a 3 ans | |
updatetmz.h | il y a 3 ans |
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.