LLNL / SAMRAI

Structured Adaptive Mesh Refinement Application Infrastructure - a scalable C++ framework for block-structured AMR application development
https://computing.llnl.gov/projects/samrai
Other
224 stars 80 forks source link

Minimum patch load option added #212

Closed nselliott closed 2 years ago

nselliott commented 2 years ago

An option minimum_patch_load is added for the CascadePartitioner and TreeLoadBalancer.

When boxes are provided as input to these load balancing classes, any boxes that have a size smaller than the minimum_patch_load value will be treated by the balancing algorithms as if their size is that provided value. This can be used to influence the balancers to tend to create less variance in the number of patches on each rank, though it will cause more variance in the total cell count on each rank.