next up previous contents
Next: The XSTAR Web Site Up: Obtaining and Running XSTAR Previous: XSTAR as a Standalone   Contents

Subroutine XSTAR

This is a version of XSTAR which retains most of the functionality of the full code, but which provides a framework whereby XSTAR can be called as a subroutine from another program, or whereby XSTAR can be applied to situations which do not employ the standard assumptions concerning, e.g. the gas density distribution, geometry, or time-steady behavior. This consists of a large fortran file containing all of the subroutines employed by the standard XSTAR, together with two wrapper programs: xstarsetup.f and xstarcalc.f. As implied by the names, xstarsetup.f is intended to be called once at the beginning of a calculation and handles reading of input data and initialization; xstarcalc.f calculates the physical conditions at one point in a photoionized gas and returns level populations, emissivities, opacities, etc. In addition there is a calling program which is intended to illustrate the use of these subroutines. Subroutine XSTAR also requires the two fits data files, atdat.fits and aptrs.fits, and must be linked to the cfitsio subroutine library. All are available via ftp from

 
ftp://legacy.gsfc.nasa.gov/software/plasma_codes/xstar/subroutine/


next up previous contents
Next: The XSTAR Web Site Up: Obtaining and Running XSTAR Previous: XSTAR as a Standalone   Contents
Tim Kallman 2014-06-30