Degenerate pressure as a function of density, all in CGS units
See Benz W., Bowers R.L., Cameron A.G.W., Press W.H., 1990, APJ, 348, 647., eqs.(2.4)
FT 19.12.2022
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
double precision, | intent(in) | :: | rho |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
double precision, | private | :: | x |
DOUBLE PRECISION PURE FUNCTION pr_wd_cgs(rho)
!********************************************
!
!# Degenerate pressure as a function of density,
! all in CGS units
!
! See [Benz W., Bowers R.L., Cameron A.G.W., Press W.H., 1990, APJ, 348, 647.](https://ui.adsabs.harvard.edu/abs/1990ApJ...348..647B/abstract){:target="_blank"}, eqs.(2.4)
!
!
! FT 19.12.2022
!
!********************************************
IMPLICIT NONE
DOUBLE PRECISION, INTENT(IN):: rho
DOUBLE PRECISION:: x
x= (rho/b_wd_cgs)**third
pr_wd_cgs= a_wd_cgs*f_wd(x)
END FUNCTION pr_wd_cgs