possible segfault in DynamicDiffusive load balancer
flow
is initialized with all neighbor ranks. This will segfault for empty processes:
https://i10git.cs.fau.de/walberla/walberla/blob/master/src/blockforest/loadbalancing/DynamicDiffusive.h#L364
Empty processes:
- Will occur when started with spare processes.
- The algorithm will not prevent that the last block is given away to its neighbor.
related issues:
- spare processes will never be included since they do not have neighbors (no one to get blocks from)
- in highly imbalanced simulations but with regions of equal weight using global information can cause block transmission even if this is the last one. Also true for block weight /= 0.