Extended LALSimulation TOV solver with new EOS framework
Description
The changes made in the LALSimulation TOV solver are threefold:
- An option has been added for the user to choose a value for the central rest-mass density or the central energy density for the integration of the TOV equations. In the command line this can be tested by running the following: (rest-mass density)
lalsim-ns-mass-radius -n AP1 -d 7e17
or (energy density)lalsim-ns-mass-radius -e 6e34
. "-d" and "-e" are the flags for choosing these values. - A routine for the calculation of the 2D and 3D Virial identities has been added. The flag for calculation of the Virial identities and then printing of those is "-U" and has no required argument. An appropriate test would be to run
lalsim-ns-mass-radius -n AP1 -U -d 7e17
in the terminal and - A new EOS framework has been set up for use of new EOS tables provided by CompOSE which have much bigger data sets, with quite a few more variables. In order to access a table of the new framework the user has to just type the name of that EOS after the name flag. For example,
lalsim-ns-mass-radius -n RGSLy2
orlalsim-ns-mass-radius -n RGSLy2 -U -d 7e17 -N 10
.
API Changes and Justification
Backwards Compatible Changes
-
This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions -
This change adds new classes/functions/structs/types to a public C header file or Python module
Backwards Incompatible Changes
-
This change modifies an existing class/function/struct/type definition in a public C header file or Python module -
This change removes an existing class/function/struct/type from a public C header file or Python module
Review Status
All code this far has been written and run under supervision of Prof. Nikolaos Stergioulas (niksterg@auth.gr). The review for the code has been carried out by Jolien Creighton and Leslie Wade. Both have signed off on the additions on 04/21/2023.
Edited by Aristeidis Nikolaidis