next up previous contents
Next: Running and Debugging Up: Solving Poisson's equation Previous: Kernel for Poisson's equation

Poisson's equation solver

 

Fill in code at the remaining locations indicated ``...'' in ``poisson.c'' to complete your solution of Poisson's equation.


Notes: Be sure to integrate backwards from tex2html_wrap_inline347 (u=1) to r=0 (u=0): you'll have to change the order of the loop and the values of both h and dk! Also, remember the boundary conditions:
tex2html_wrap_inline359 and tex2html_wrap_inline361 .



Tomas Arias
Sat Feb 10 11:41:16 EST 2001