1#ifndef __CS_BLOCK_TO_PART_H__
2#define __CS_BLOCK_TO_PART_H__
105 const cs_gnum_t adjacency[],
106 const int adjacent_ent_rank[],
107 const int default_rank[],
109 cs_gnum_t **part_gnum);
144 bool global_list_is_sorted,
145 const cs_gnum_t global_list[],
146 const cs_gnum_t global_number[],
struct _cs_all_to_all_t cs_all_to_all_t
Definition cs_all_to_all.h:78
cs_all_to_all_t * cs_block_to_part_create_by_adj_s(MPI_Comm comm, cs_block_dist_info_t block, cs_block_dist_info_t adjacent_block, int stride, const cs_gnum_t adjacency[], const int adjacent_ent_rank[], const int default_rank[], cs_lnum_t *n_part_elts, cs_gnum_t **part_gnum)
Initialize block to partition distributor with block data using strided adjacency array.
Definition cs_block_to_part.c:124
void cs_block_to_part_global_to_local(cs_lnum_t n_ents, cs_lnum_t base, cs_lnum_t global_list_size, bool global_list_is_sorted, const cs_gnum_t global_list[], const cs_gnum_t global_number[], cs_lnum_t local_number[])
Determine local references from references to global numbers.
Definition cs_block_to_part.c:358
#define BEGIN_C_DECLS
Definition cs_defs.h:509
#define END_C_DECLS
Definition cs_defs.h:510
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:313
Definition cs_block_dist.h:50