Black holes repositioning
This is the last bit of physics of the EAGLE model.
- When looping over the neighbours of a black hole, compute the minimal gravitational potential across all neighbours,
- When drifting, if the minimum is not yourself, move the BH to its new position.
- Force the code to compile with potential calculations switched on when using EAGLE physics.
Merge request reports
Activity
added 1 commit
- bbe76f7c - Fix documentation strings and compilation of the default BH model.
- Resolved by Matthieu Schaller
- Resolved by Matthieu Schaller
added 1 commit
- 3421b494 - Remove message, fix documentation and fix debugging check.
- Resolved by Matthieu Schaller
Thanks, spotted another debug message that also needs to go.
Currently running this on EAGLE_6/.1 (non-MPI) and seeing a lot of output from this code, along with swallowing. Seems far more active than I remember. Had 6 BH swallow event in 1000 steps.
For reference this run also output:
random.h:110:45: runtime error: left shift of 3735 by 20 places cannot be represented in type 'int'
which I'm guessing is OK for the tricks that sort of code gets up to (sanitizers are enabled).
added 6 commits
-
3421b494...001587d2 - 4 commits from branch
master
- d46bd191 - Removed one more debugging message.
- 3415c102 - Merge branch 'master' into black_holes_repositioning
-
3421b494...001587d2 - 4 commits from branch
Thanks. I have also removed it.
Indeed the repositioning should help a lot with the swallowing as BH will not be physically positioned at the same position. We also improved the random number generator's behaviour in low-probability cases, which may help with the gas swallowing.
For the RNG message, which sanitizer is that with? May not be as innocuous as it seems.
mentioned in commit 209dc39d