LALSimulation TOV Solver Expansion
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
.
All changes have been marked with comments pertaining to the appropriate issue. So for the change 1.) the comment will read /* A_N_ISSUE_1_ */.
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). Review signed off: https://git.ligo.org/groups/extreme-matter/-/wikis/Extended-TOV-solver-with-new-EOS-framework-review
Edited by Maria Haney