fd3d_patch.c
Hi,
if you still need help on this problem, pls mail me at
jithesh_lrde@rediffmail.com or
jithesh.lrde@gmail.com.
I fixed the problems, but I could not upload the file due to some problems.
The code is now in working condition.
The major problems were:
1. due to some memory limitation, the C Pre-processor could not assign memory to the 3D arrays. If you declare the arrays directly like dx[62][120][14] instead of dx[IE][JE][KE}, this will be solved.
2. In most of the places, insted of '1' (digit), you typed l (alphabet). In printed material (e.g., Sullivan's Text Book), both may look alike.
3. You have used coefficient arrays fi1, fi2, fi3 etc, without initializing. So by default they will be filled with zeros. In the source/field update equations, these coefficient arays will make the entire expression zero so that you will always get zero only.
Best Regards
Jithesh
Added after 49 minutes:
Hi again,
I am trying to upload the file again.
Two more fdtd files (both from sullivan) are also there in the zip file.
Hope that it is useful.
Best Regards
Jithesh