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

Multiples module merge #98

Merged
merged 15 commits into from
Mar 7, 2017
Merged

Multiples module merge #98

merged 15 commits into from
Mar 7, 2017

Conversation

stevemcmillan
Copy link
Contributor

Substantial bug fixes and improvements to multiples algorithms. Greatly improved accuracy and stability.

to smalln to dump orbit information to a file for closer study.
Modified smalln and multiples independent of amuse base.
mutually unbound if over = 1, and to use a weaker perturbation
criterion to create a usable tree structure when over = 3.

Modified smalln interface to allow trajectory plotting data to be
saved in a file.

Added global debugging flag to multiples.py.  Fine-tuned choices of
length and time scales to limit long-lived encounters, and improved
handling of long-lived multiples through several encounters.
Corrected bug in the compression of many-body systems that created
spurious bound pairs.  Added code to check the integrity of the tree
structure.  Corrected bug in scale_top_level_list that left leaves
inconsistent with top-level nodes and caused center of mass errors.
Created experimental code to monitor the quadrupole contribution to
the tidal potential error.
@ipelupessy
Copy link
Member

here it breaks a test in test/codes_tests/test_smalln.py and most of test/codes_tests/test_multiples.py
(probably these need to be updated to the new changes, I see multiple "CodeException: Not enough parameters in call, missing ['over']" errors)

@stevemcmillan
Copy link
Contributor Author

Sorry, I missed this. I'll take a look at the tests. Are you OK with me changing them?

@stevemcmillan
Copy link
Contributor Author

See my e-mail. I have fixed the smallN issue, but the multiples problem is deeper.

@ipelupessy
Copy link
Member

so encounters needs to be updated? I willopen an issue report for this...

@arjenve arjenve merged commit 29a57c7 into amusecode:master Mar 7, 2017
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.

None yet

3 participants