Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(grtde) BUG FIX with units in GR tidal disruption event setup #432

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

danieljprice
Copy link
Owner

Type of PR:
Bug fix (thanks to Martina Toscani for reporting)

Description:
Mass and radius of star in .setup file for SETUP=grtde was messed up because of incorrect unit conversions

Testing:

make SETUP=grtde
./phantomsetup grtde

this works now without getting very small values of Mstar and Rstar in the .setup file. The issue was that for the GR setup the central mass needs to be 1 in code units, but we take mhole as an input parameter, so the units need to be set immediately AFTER mhole is read, but BEFORE the star options are read from the .setup file.

Did you run the bots? no

Did you update relevant documentation in the docs directory? no

@danieljprice danieljprice merged commit bc0de6a into master Jun 12, 2023
@danieljprice danieljprice deleted the grtde branch June 12, 2023 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant