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
f33c3d60
Commit
f33c3d60
authored
Feb 11, 2020
by
Matthieu Schaller
Browse files
Merge branch 'yb-bhfix' into 'master'
Fix erroneous skipping of BH particles See merge request
!1016
parents
728c65e8
742815f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_ghost.c
View file @
f33c3d60
...
...
@@ -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