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

Slow down method and few fixes on the new star formation prescription #583

Merged
merged 40 commits into from
Aug 27, 2024

Conversation

Yrisch
Copy link
Contributor

@Yrisch Yrisch commented Aug 8, 2024

Type of PR:
new physics

Description:
Slow down method during subgroups integration. This method slows down the inner motion of weakly perturbed binaries in subgroups to relax constraints on the time step. It is still possible to follow secular evolution of this binaries without integrating their real fast motion. We loose the orbital phase but the computational gain is significant. See Mikkola and Aarseth (1996) and Wang et al. (2020) for more details.

Testing:
This new feature has been tested using the setup hierarchical reproducing tests done in Wang et al. (2020)...

Did you run the bots? yes

Did you update relevant documentation in the docs directory? no

Yrisch added 30 commits July 24, 2024 11:58
@Yrisch Yrisch marked this pull request as ready for review August 9, 2024 11:45
@danieljprice
Copy link
Owner

this looks ok to merge. Main question is, how would you know if this is broken in the code?

What we really need here to keep this from being broken is an automated unit test, for example could we repeat some of the tests in Wang et al. (2020) as part of the test suite...?

@Yrisch
Copy link
Contributor Author

Yrisch commented Aug 19, 2024

Yes, you right. I will work on it !

@Yrisch
Copy link
Contributor Author

Yrisch commented Aug 22, 2024

After a lot of fixes and fine tuning, the test should be almost ready. I checked manually the results and it's perfect. I'm finishing automatic checks and It should be good to go !

@Yrisch
Copy link
Contributor Author

Yrisch commented Aug 23, 2024

I think everything is fine now. The only failing seems to be a failed download...

@danieljprice danieljprice merged commit 00e8eb0 into danieljprice:master Aug 27, 2024
180 checks passed
@danieljprice danieljprice deleted the Slow-down branch August 27, 2024 07:27
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.

2 participants