next up previous contents
Next: Contents

Cornell University

Department of Physics

Phys 480/680, Astro 690 April 15, 2001

Computational Physics, Spring 2001

Homework Assignment # 7

(Due Friday, April 13 at 8:00 am in Computer Lab.)


Agenda and readings for the weeks of April 2 & 9:


Goals: Gain experience calling LAPACK; solution of Poisson's equation in d=3 using the FFT; learn to use overloading to express scientific algorithms succinctly; solution of Poisson's equation in a single line of code:

  phi=I(Linv((-4*pi)*O(J(rho))));



Readings marked NR are from Numerical Recipes: The Art of Scientific Computing, 2 tex2html_wrap_inline536 edition (in C). Readings marked LN are from the course lecture notes to be found at http://www.muchomas.lassp.cornell.edu/P480.


Recap of last week:


Preview of coming two weeks:





Tomas Arias
Sun Apr 15 19:43:40 EDT 2001


Postscript Version

PDF Version