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

Chinese coin problem / bug fixes and tests added for sink particles in external potentials #535

Merged
merged 13 commits into from
Apr 24, 2024

Conversation

danieljprice
Copy link
Owner

@danieljprice danieljprice commented Apr 23, 2024

Type of PR:
Bug fix

Description:
Fixed problems running the Chinese Coin problem from Chin & Chen (2005) as in the phantom paper. The main issue that if one sets mass1 not equal to 1 in the input file with the binary external force (iexternalforce=3) then this was not read from the input file. Also evaluation of the external force was accidentally turned off if there was only one sink particle in the simulation

Also added a few more things to the format bot (OPEN->open, CLOSE->close, TRIM->trim and a few other things)

Testing:
Now implemented in the test suite, can be run with

rm phantomtest && make phantomtest && ./phantomtest coin

Did you run the bots? yes

Did you update relevant documentation in the docs directory? no

@danieljprice danieljprice merged commit 31742ca into master Apr 24, 2024
180 checks passed
@danieljprice danieljprice deleted the chinchen branch April 24, 2024 03:28
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

1 participant