next up previous
Next: sphere() Up: Users Manual for RNS: Previous: Allocate Memory

Compute a Spherical Star

Before computing a rotating neutron star, you will need to compute the form of a spherical neutron star. The spherical star will be used as a first approximation for the rotating neutron star.

The function sphere() is called by the application to compute the metric of a spherical star. The function sphere is given information about the equation of state and the values of energy density, pressure and enthalpy at the center and surface of the star. The function computes the coordinate radius of the star re as well as the metric functions $\rho, \gamma, \omega$ and $\alpha$.



 

root
1999-01-09