195 #if defined(HAVE_MPI) 227 const int elt_rank_id[],
void cs_halo_free_buffer(void)
Definition: cs_halo.c:935
cs_halo_rotation_t
Definition: cs_halo.h:60
void cs_halo_destroy(cs_halo_t **halo)
Definition: cs_halo.c:795
cs_lnum_t * index
Definition: cs_halo.h:112
void cs_halo_sync_component(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_halo_rotation_t rotation_op, cs_real_t var[])
Definition: cs_halo.c:1754
void cs_halo_set_use_barrier(bool use_barrier)
Definition: cs_halo.c:1845
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
void cs_halo_sync_var(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[])
Definition: cs_halo.c:1434
cs_lnum_t * perio_lst
Definition: cs_halo.h:117
bool cs_halo_get_use_barrier(void)
Definition: cs_halo.c:1831
cs_halo_t * cs_halo_create_from_ref(const cs_halo_t *ref)
Create a halo structure, given a reference halo.
Definition: cs_halo.c:498
int * c_domain_rank
Definition: cs_halo.h:76
double cs_real_t
Floating-point value.
Definition: cs_defs.h:307
cs_lnum_t n_local_elts
Definition: cs_halo.h:84
void cs_halo_update_buffers(const cs_halo_t *halo)
Definition: cs_halo.c:855
void cs_halo_sync_var_strided(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[], int stride)
Definition: cs_halo.c:1565
int n_transforms
Definition: cs_halo.h:74
Definition: cs_rank_neighbors.h:67
cs_lnum_t * send_perio_lst
Definition: cs_halo.h:100
int n_rotations
Definition: cs_halo.h:81
cs_halo_type_t
Definition: cs_halo.h:50
cs_halo_t * cs_halo_create(const cs_interface_set_t *ifs)
Create a halo structure given an interface set.
Definition: cs_halo.c:367
struct _cs_interface_set_t cs_interface_set_t
Definition: cs_interface.h:61
void cs_halo_renumber_ghost_cells(cs_halo_t *halo, const cs_lnum_t old_cell_id[])
Definition: cs_halo.c:974
int n_c_domains
Definition: cs_halo.h:73
void cs_halo_sync_components_strided(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_halo_rotation_t rotation_op, cs_real_t var[], int stride)
Definition: cs_halo.c:1801
struct _fvm_periodicity_t fvm_periodicity_t
Definition: fvm_periodicity.h:67
void cs_halo_sync_untyped(const cs_halo_t *halo, cs_halo_type_t sync_mode, size_t size, void *val)
Definition: cs_halo.c:1124
void cs_halo_sync_num(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_lnum_t num[])
Definition: cs_halo.c:1295
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:301
const fvm_periodicity_t * periodicity
Definition: cs_halo.h:78
#define END_C_DECLS
Definition: cs_defs.h:496
void cs_halo_renumber_cells(cs_halo_t *halo, const cs_lnum_t new_cell_id[])
Definition: cs_halo.c:952
cs_lnum_t * send_index
Definition: cs_halo.h:95
cs_halo_t * cs_halo_create_from_rank_neighbors(const cs_rank_neighbors_t *rn, cs_lnum_t n_local_elts, cs_lnum_t n_distant_elts, const int elt_rank_id[], const cs_lnum_t elt_id[])
Create a halo structure from distant element distant ranks and ids.
Definition: cs_halo.c:580
void cs_halo_dump(const cs_halo_t *halo, int print_level)
Definition: cs_halo.c:1860
cs_lnum_t * send_list
Definition: cs_halo.h:92