Skip to content
Snippets Groups Projects
Commit c08467a4 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Make sure we include all the top-level cells, not just those that are super cells

parent 7001251e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment