Analytical representations of unified equations of state of neutron star matter

Fitting programs

The equations of state (EOSs) for neutron-star matter are fitted from mass density ρ ≈ 106 g cm−3 to ρ ∼ 1016 g cm−3 (baryon number density n from ≈ 0.6×10−9 fm−3 to a few fm−3). At the low end of this density range, the EOS starts to depend on temperature T. The subroutines are downloadable by clicking on the file names below:

  1. bskfit18.f (updated 13.02.23) — the main file, which contains the Fortran realization of our approximations for the BSkEOSs and related quantities.
    List of subroutines: The next 4 subroutines, listed below, are not necessary for BSk22+. They are provided for the sake of backward compatibility:
  2. bskeos.f — an auxiliary file for demonstration of the use of the EOS calculation. In the latter file, the EOS fits are extended to smaller ρ by matching to an approximation for the OPAL EOS of iron at T = 107 K and ρ = (0.1 — 1000) g cm−3.
    Arguments of the program: The subroutine BSKEOS(MODE,KEOS,XN,RHO,H1,P,Gamma) in this file returns 4 fitted arguments for 1 input (XN, RHO, or H1). It uses subroutines from the former file that realize the separate fits: P(ρ), n(ρ), ρ(n), ρ(H1). Typical accuracy of the fits is a few percent or better. To achieve the perfect thermodynamic consistency, however, it is advised not to use all the fitted outputs, but to calculate either XN(RHO,P) or RHO(XN,P) using the thermodynamic identities (e.g., Eqs.(2) and (3) of Haensel and Potekhin 2004).

Please communicate to us your opinion about this resource or send any suggestions or remarks.


[TOP] [MAIN]

Page created on July 20, 2012, last updated on September 12, 2019 by Alexander Potekhin.
Last revision of the programs: February 13, 2023 (free-proton fraction is set exactly to zero at densities below proton drip)