Commit c08467a4 authored by Peter W. Draper's avatar Peter W. Draper

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

parent 7001251e
...@@ -326,8 +326,7 @@ static void dumpCells_map(struct cell *c, void *data) { ...@@ -326,8 +326,7 @@ static void dumpCells_map(struct cell *c, void *data) {
/* So output local super cells that are active and have MPI /* So output local super cells that are active and have MPI
* tasks as requested. */ * tasks as requested. */
if (c->nodeID == e->nodeID && (!super || (super && c->super == c)) && if (c->nodeID == e->nodeID && (!super ||((super && c->super == c) || (c->parent == NULL))) && active && mpiactive) {
active && mpiactive) {
/* If requested we work out how many particles are active in this cell. */ /* If requested we work out how many particles are active in this cell. */
int pactcount = 0; int pactcount = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment