Downloadable postscript file is available.



To obtain the code download code.tar. Once you have put the file in a directory where you want it. Type
tar -xvf code.tar
This will create a directory called code and will have the following files:
Makefile deriv.f driver.f gentable.f metric.f newton.f Once you have all the files extracted change directory to code and type make This will make gentab which you can run to generate three tables:
1. tau Rstar r_sch in slice_r.dat
2. tau Rstar dr_sch/dtau in slice_drdtau.dat
3. tau Rstar dr_sch/dRstar in slice_drdRstar.dat

There are two options for using these routines. You can generate data files such as the above and opt to read them into your program and interpolate to get values for r and t or you can directly call gentable each time and keep the tables stored in memory and access them when needed.

The best way is to call the gentable routine at the begining of your code and extract data from it when needed. To link your program to these fortran routines you must compile and link gentable.f newton.f metric.f deriv.f with your routines. Look at the Makefile for gentab as an example of how to create a Makefile and compile with it.


Direct any questions or problems to

mijan@einstein.ph.utexas.edu