changa
changa copied to clipboard
Make SFC domain decomposition more robust
The SFC domain decomposition attempts to get equal numbers of particles in each domain within a tolerance of 10% (a compile time constant ddTolerance in ParallelGravity.h). Currently ChaNGa aborts if it can't meet this tolerance after a large (1000) number of iterations. However, given load balancing, it could just continue with unequal particles per domain.