next up previous
Up: Maxwell's Equations and a Previous: Conclusion

Appendix: How It Was Done

Here is a short description of how the computations were performed. As described above, the initial conditions were formed by developing a set of coefficients for the cosine functions in the $z$ direction and the Bessel functions in the $r$ direction. Then at each time step, and for each point in the grid, the sum in equation (23) was computed. The programming was done in the Interactive Data Language from Research Systems Incorporated. The script that I used can be found here.

The computations are considerable. To save time, I precomputed the $\cos(k_i z)$ and $J_1(\lambda_j r)$ terms and stored them in an array for easy access. Even so, it must be remembered that a computation of $100\times100\times300\times300$ terms must occur for each frame, and there were about 100 frames. Total running time was about three hours on a Pentium II 450 MHz Linux PC. The final data array was saved and then rendered in a second step.

Craig Markwardt 2001-07-30