From c08467a4e3d8b959d765d8356bcb03052be4d214 Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Thu, 19 Apr 2018 12:38:22 +0100 Subject: [PATCH] Make sure we include all the top-level cells, not just those that are super cells --- src/debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/debug.c b/src/debug.c index b1e2cb08bc..25301ea5ca 100644 --- a/src/debug.c +++ b/src/debug.c @@ -326,8 +326,7 @@ static void dumpCells_map(struct cell *c, void *data) { /* So output local super cells that are active and have MPI * tasks as requested. */ - if (c->nodeID == e->nodeID && (!super || (super && c->super == c)) && - active && mpiactive) { + if (c->nodeID == e->nodeID && (!super ||((super && c->super == c) || (c->parent == NULL))) && active && mpiactive) { /* If requested we work out how many particles are active in this cell. */ int pactcount = 0; -- GitLab