Equation of State Sub-Library: Version 0.910
Solution of the Tolman-Oppenheimer-Volkov equations

The class tov_solve provide a solution to the Tolman-Oppenheimer-Volkov (TOV) equations given an equation of state. This is particularly useful for static neutron star structure: given any equation of state one can calculate the mass vs. radius curve and the properties of any star of a given mass. An adaptive integration is employed and calculates the gravitational mass, the baryonic mass (if the baryon density is supplied), and the gravitational potential. The remaining columns is the equation of state are also interpolated into the solution, e.g. if a chemical potential is given, then the radial dependence of the chemical potential for a 1.4 solar mass star can be automatically computed. The equation of state may be specified in arbitrary units so long as an appropriate conversion factor is supplied. An equation of state for low densities (baryon density < 0.08 $ \mathrm{fm}^{-3} $ ) is provided and can be automatically appended to the user-defined equation of state.

This is still experimental.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.