Go to the source code of this file.
◆ cs_block_dist_compute_sizes()
Compute block size and rank info for use with a block distribution.
- Parameters
-
[in] | rank_id | id of local rank (ignored in serial mode) |
[in] | n_ranks | number of associated ranks |
[in] | min_rank_step | minimum rank step between blocks |
[in] | min_block_size | minimum number of entities per block |
[in] | n_g_ents | total number of associated entities |
- Returns
- block size and range info structure
◆ cs_block_dist_compute_sizes_nr()
Compute block size and rank info for use with a block distribution for a new global number of entities with a given number of active ranks.
- Parameters
-
[in] | rank_id | id of local rank (ignored in serial mode) |
[in] | n_ranks | number of associated ranks |
[in] | n_block_ranks | number of ranks associated with a block |
[in] | n_g_ents | total number of associated entities |
- Returns
- block size and range info structure