joywwj
Newbie level 2
I am a newer to fdtd. I am reading Sullivan's book. In the FDTD_2.2.c program, they caculate the Fourier transform of the input pulse.
/* Fourier transform of the input pulse*/ ---> why have to caculate the Fourier transform of the input pulse.
if (T<100) ---->why T have to be smller than 100
for (m=0;m<=2;m++)
{ real_in[m]=real_in[m]+cos(arg[m]*T)*ex[10] --->why have to time ex[10]
imag_in[m]=imag_in[m]-sin(arg[m]*T)*ex[10]
}
thanks a lot
/* Fourier transform of the input pulse*/ ---> why have to caculate the Fourier transform of the input pulse.
if (T<100) ---->why T have to be smller than 100
for (m=0;m<=2;m++)
{ real_in[m]=real_in[m]+cos(arg[m]*T)*ex[10] --->why have to time ex[10]
imag_in[m]=imag_in[m]-sin(arg[m]*T)*ex[10]
}
thanks a lot