From barnes@IfA.Hawaii.Edu Thu Apr  7 12:06:37 2005
Date: Thu, 7 Apr 2005 12:00:54 -1000 (HST)
From: Joshua Edward Barnes <barnes@IfA.Hawaii.Edu>
To: Li-Hsin Chien <chien@ifa.hawaii.edu>, Trent Dupuy <tdupuy@ifa.hawaii.edu>,
     Hai Fu <fu@ifa.hawaii.edu>, Benjamin Granett <granett@ifa.hawaii.edu>,
     Jeyhan Kartaltepe <jeyhan@ifa.hawaii.edu>,
     Cheng-Jiun Ma <cjma@ifa.hawaii.edu>,
     Joseph Masiero <masiero@ifa.hawaii.edu>,
     Nicholas Moskovitz <nmosko@ifa.hawaii.edu>,
     Mark Pitts <pitts@ifa.hawaii.edu>, Steve Rodney <rodney@ifa.hawaii.edu>
Cc: Joshua Edward Barnes <barnes@ifa.hawaii.edu>
Subject: treecode.tar

Dear Class,

    the tar file with the hierarchical nbody code is now ready to download
from http://www.ifa.hawaii.edu/faculty/barnes/ast626_05/treecode.tar . The
Makefile included assumes you are compiling the code on a Sun, but you can
easily change it to work with Linux -- just follow the instructions in
Makefile itself.  To compile the treecode, just type

	make treecode

at the unix command line.  To compile plumcrash, type

	make plumcrash

    The handout I distributed in class yesterday contains one minor error
(or anyway, one that I know of): the header at the beginning of each file
is TWO lines long, not one.  The first line shows the originating program,
the number of particles N, and the current time t.  The next line provides
column headings for the data which follow.

    Problems 4(a) and 5(b) require you to manipulate the particle data in
fairly straightforward ways (eg, calculate r from x, y, z).  I assume
everybody has access to the software tools (eg, IDL) needed to do this.
If you don't, I can show you how to use the awk utility for this job.

    As always, let me know if you have any questions or if you run into
any problems with the software.  It's been tested but you never know.

						Thanks,
							Josh


