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

Sinks can now merge #172

Merged
merged 11 commits into from
Sep 23, 2021
Merged

Sinks can now merge #172

merged 11 commits into from
Sep 23, 2021

Conversation

jameswurster
Copy link
Contributor

Added algorithm to permit sink mergers. They unconditionally merge if they pass with r_merge_uncond of one another, and will merge if they pass within r_merge_cond and they are bound. By default, both radii are 0 to prevent mergers. Once a particle as merged, its mass is set to negative; this has been accounted for throughout the code.

@jameswurster
Copy link
Contributor Author

A corresponding commit to Splash has been made to prevent plotting the merged sink that is tagged with negative mass.

@jameswurster
Copy link
Contributor Author

Note: test failure options seem to be a result of a failure in the test bot not having the proper SSH keys, not a result of my updates.

@danieljprice
Copy link
Owner

it's a little hard to decipher from the logs, but the failures here are in:

star
radstar

@jameswurster
Copy link
Contributor Author

Thanks for letting me know where the bugs were. These logs are harder to decipher than the bitbucket logs, especially when some faults are the developers (e.g. mine) and some seem to be the system not running or having a permission...
Hopefully the above patch will be the last of my bugs.

@jameswurster
Copy link
Contributor Author

The
mpi / MPI DEBUG=no OPENMP=yes (pull_request)
test passes on my local mac and on my fork of Phantom. This failure is from the dE/dt being too large that we've been seeing sporadically for a while now.

@danieljprice danieljprice merged commit 505468e into danieljprice:master Sep 23, 2021
@danieljprice
Copy link
Owner

I reran the test suite and this passed. I guess we should alter the tolerance slightly on the dE/dt test.

Thanks for the contributions!

@danieljprice
Copy link
Owner

btw the benchmark failures were because I needed to renew the project running the data server, so it could not download the required files to run the benchmarks...

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