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_inline353 (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_inline365 and tex2html_wrap_inline367 .



Tomas Arias
Mon Feb 11 20:04:44 EST 2002