227 const int elt_rank_id[],
#define BEGIN_C_DECLS
Definition cs_defs.h:467
double cs_real_t
Floating-point value.
Definition cs_defs.h:302
#define END_C_DECLS
Definition cs_defs.h:468
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:298
bool cs_halo_get_use_barrier(void)
Definition cs_halo.c:1796
void cs_halo_update_buffers(const cs_halo_t *halo)
Definition cs_halo.c:820
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:545
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:1719
void cs_halo_renumber_cells(cs_halo_t *halo, const cs_lnum_t new_cell_id[])
Definition cs_halo.c:917
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:463
void cs_halo_dump(const cs_halo_t *halo, int print_level)
Definition cs_halo.c:1825
cs_halo_t * cs_halo_create(const cs_interface_set_t *ifs)
Create a halo structure given an interface set.
Definition cs_halo.c:331
cs_halo_rotation_t
Definition cs_halo.h:60
@ CS_HALO_ROTATION_COPY
Definition cs_halo.h:62
@ CS_HALO_ROTATION_IGNORE
Definition cs_halo.h:64
@ CS_HALO_ROTATION_ZERO
Definition cs_halo.h:63
void cs_halo_free_buffer(void)
Definition cs_halo.c:900
void cs_halo_set_use_barrier(bool use_barrier)
Definition cs_halo.c:1810
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:1766
cs_halo_type_t
Definition cs_halo.h:50
@ CS_HALO_N_TYPES
Definition cs_halo.h:54
@ CS_HALO_STANDARD
Definition cs_halo.h:52
@ CS_HALO_EXTENDED
Definition cs_halo.h:53
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:1089
void cs_halo_sync_var(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[])
Definition cs_halo.c:1399
void cs_halo_sync_num(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_lnum_t num[])
Definition cs_halo.c:1260
void cs_halo_renumber_ghost_cells(cs_halo_t *halo, const cs_lnum_t old_cell_id[])
Definition cs_halo.c:939
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:1530
void cs_halo_destroy(cs_halo_t **halo)
Definition cs_halo.c:760
struct _cs_interface_set_t cs_interface_set_t
Definition cs_interface.h:61
struct _fvm_periodicity_t fvm_periodicity_t
Definition fvm_periodicity.h:67
int n_transforms
Definition cs_halo.h:74
cs_lnum_t * index
Definition cs_halo.h:112
cs_lnum_t * send_list
Definition cs_halo.h:92
cs_lnum_t * send_index
Definition cs_halo.h:95
int n_rotations
Definition cs_halo.h:81
cs_lnum_t n_local_elts
Definition cs_halo.h:84
int n_c_domains
Definition cs_halo.h:73
int * c_domain_rank
Definition cs_halo.h:76
cs_lnum_t * perio_lst
Definition cs_halo.h:117
cs_lnum_t * send_perio_lst
Definition cs_halo.h:100
const fvm_periodicity_t * periodicity
Definition cs_halo.h:78
Definition cs_rank_neighbors.h:67