Inverted grav depth logic
This might actually help with the MPI problems simply by reducing the number of gravity-related MPI communications.
It makes the depth of the gravity more uniform across the nodes and hopefully more balanced. Scheduler:cell_subdepth_grav
could also be reduced further to help even more.
Merge request reports
Activity
Sorry, meant to say what I'd done. I ran a full physics test for 20,000 steps three times, with depths of 4, 3 and 2. The results are not very different, other than 4 is a little faster than 2. However, I need to rerun these once more as the comparison to master doesn't look good, i.e. these are much slower. Think I'll merge in master and do the tests again.
All looks more reasonable now. Here are plots for master against this branch (updated to the same revision anyway):
So not a lot in it, master is slightly faster than this branch.
Reducing the subdepth value to 2 doesn't look much different either:
So I guess this isn't the improvement we're after...