pauleaster / rns.rs

Rust port of the RNS C code. This code calculates the rotation profiles of rapidly rotating neutron stars.
0 stars 1 forks source link

Possibly wrong log return in polytope with make_center #1

Open pauleaster opened 2 years ago

pauleaster commented 2 years ago

There appears to be some inconsistency with make_center, for a tabulated equation of state (p,h) is returned whereas, for the polytropic equation of state, it looks like p and the natural log of h is returned! I haven't got the EoS relationships at hand so this needs to be checked later.

pauleaster commented 2 years ago

The log has been removed from the return value for h for polytropic equations of state. make_center returns (p,h) same as the tabulated EoS.

...Note that these values are non-dimensionalised. See load_eos to see what the scaling is.