Astronomy 497D, Winter 2001


COURSE NEWS AND RESOURCES

This section contains information related to Astronomy 497D, Numerical Methods for Astrophysics. It will continue to grow as the course progresses. Be sure to check it periodically for changes.

Textbooks:
  • Required text: Numerical Recipes by W. Press et al.
  • Recommended primer on C: The C Programming Language by B. Kernighan and D. Ritchie.
  • Syllabus:

    Here is the outline of the course.

    Online manuals:

  • Unix Primer: Introduction to Unix . Also see Chance's introduction.
  • SM: SM Tutorial, SM Manual , SM Release Notes.

    Handouts: Here is the handout on Romberg integration. This handout has been revised Jan. 16, 2001.

    Notes on numerical integration are here.

    Assignments:

  • Homework 1 Romberg Integration.
  • Homework 1A Interpolation.
  • Homework 2 Differential Equations.
  • Homework 3 Root Finding.
  • Homework 4 Optimization.
  • Homework 5 Diffusion equation.

    MPI examples: See http://WWW.ERC.MsState.Edu/mpi/ for more information.

  • hello.c
  • deadlock.c
    These examples can be compiled and run on the astrolabs with
    setenv PATH /net/lam/bin
    mpicc hello.c -o hello
    lamboot bhosts
    (where bhosts contains a list of the machines to include)
    mpirun -np 2 hello

    Instructor: Tom Quinn
    E-mail: trq@astro.washington.edu
    Office hours available by appointment, Physics/Astronomy Building Room B378 (in the N-body shop.)