diff --git a/docs/source/InputsLoadBalancing.rst b/docs/source/InputsLoadBalancing.rst index e78dcb798712b3940f80e2fe0173640978a76e7c..e3eba85521d73a4caccda891e24dac3a3f884b77 100644 --- a/docs/source/InputsLoadBalancing.rst +++ b/docs/source/InputsLoadBalancing.rst @@ -65,8 +65,8 @@ The following inputs must be preceded by "mfix" and determine how we load balanc +----------------------+-----------------------------------------------------------------------+-------------+--------------+ | load_balance_fluid | Only relevant if (dual_grid); if so do we also regrid mesh data | Int | 1 | +----------------------+-----------------------------------------------------------------------+-------------+--------------+ -| load_balance_type | What strategy to use for load balancing | String | FixedSize | -| | Options are "FixedSize", "KDTree" or "Knapsack" | | | +| load_balance_type | What strategy to use for load balancing | String | KnapSack | +| | Options are "KnapSack"or "SFC" | | | +----------------------+-----------------------------------------------------------------------+-------------+--------------+ | knapsack_weight_type | What weighting function to use if using Knapsack load balancing | String | RunTimeCosts | | | Options are "RunTimeCosts" or "NumParticles"" | | | diff --git a/docs/source/LoadBalancing.rst b/docs/source/LoadBalancing.rst index 7c685d8617a693bcd8fc432e2389aebbfedbfe7c..cae08456cb5f9145e9894996f7ac22927ca2521b 100644 --- a/docs/source/LoadBalancing.rst +++ b/docs/source/LoadBalancing.rst @@ -11,8 +11,7 @@ Load Balancing The process of load balancing is typically independent of the process of grid creation; the inputs to load balancing are a given set of grids with a set of weights -assigned to each grid. (The exception to this is the KD-tree approach in which the -grid creation process is governed by trying to balance the work in each grid.) +assigned to each grid. Single-level load balancing algorithms are sequentially applied to each AMR level independently, and the resulting distributions are mapped onto the ranks taking into account the weights @@ -20,7 +19,7 @@ already assigned to them (assign heaviest set of grids to the least loaded rank) Options supported by AMReX include: -- Knapsack: the default weight of a grid in the knapsack algorithm is the number of grid cells, +- KnapSack: the default weight of a grid in the knapsack algorithm is the number of grid cells, but AMReX supports the option to pass an array of weights – one per grid – or alternatively to pass in a MultiFab of weights per cell which is used to compute the weight per grid