Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
742815f2
Commit
742815f2
authored
Feb 11, 2020
by
Yannick Bahé
Browse files
Fix bug in runner_ghost causing erroneous skipping of BH particles
parent
95f01b23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_ghost.c
View file @
742815f2
...
...
@@ -809,7 +809,8 @@ void runner_do_black_holes_swallow_ghost(struct runner *r, struct cell *c,
TIMER_TIC
;
/* Anything to do here? */
if
(
!
cell_is_active_hydro
(
c
,
e
))
return
;
if
(
c
->
black_holes
.
count
==
0
)
return
;
if
(
!
cell_is_active_black_holes
(
c
,
e
))
return
;
/* Recurse? */
if
(
c
->
split
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment