yt.utilities.decompose module¶
- yt.utilities.decompose.decompose_array(shape, psize, bbox, *, cell_widths=None)[source]¶
Calculate list of product(psize) subarrays of arr, along with their left and right edges
- yt.utilities.decompose.evaluate_domain_decomposition(n_d, pieces, ldom)[source]¶
Evaluate longest to shortest edge ratio BEWARE: lot’s of magic here
- yt.utilities.decompose.factorize_number(pieces)[source]¶
Return array consisting of prime, its power and number of different decompositions in three dimensions for this prime