From c4a9352bbb98f921a1ab046326823c76e38e8511 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Mon, 6 May 2019 09:47:26 +0100 Subject: [PATCH] When lisiting 'useful' top-level cells also check whether they have a black hole. --- src/space.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/space.c b/src/space.c index 651f4c044e..87673e104d 100644 --- a/src/space.c +++ b/src/space.c @@ -3903,6 +3903,7 @@ void space_list_useful_top_level_cells(struct space *s) { const int has_particles = (c->hydro.count > 0) || (c->grav.count > 0) || (c->stars.count > 0) || + (c->black_holes.count > 0) || (c->grav.multipole != NULL && c->grav.multipole->m_pole.M_000 > 0.f); if (has_particles) { -- GitLab