Go to the source code of this file.
|
cs_halo_t * | cs_halo_create (const cs_interface_set_t *ifs) |
| Create a halo structure given an interface set. More...
|
|
cs_halo_t * | cs_halo_create_from_ref (const cs_halo_t *ref) |
| Create a halo structure, given a reference halo. More...
|
|
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. More...
|
|
void | cs_halo_destroy (cs_halo_t **halo) |
|
void | cs_halo_update_buffers (const cs_halo_t *halo) |
|
void | cs_halo_free_buffer (void) |
|
void | cs_halo_renumber_cells (cs_halo_t *halo, const cs_lnum_t new_cell_id[]) |
|
void | cs_halo_renumber_ghost_cells (cs_halo_t *halo, const cs_lnum_t old_cell_id[]) |
|
void | cs_halo_sync_untyped (const cs_halo_t *halo, cs_halo_type_t sync_mode, size_t size, void *val) |
|
void | cs_halo_sync_num (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_lnum_t num[]) |
|
void | cs_halo_sync_var (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[]) |
|
void | cs_halo_sync_var_strided (const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[], int stride) |
|
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[]) |
|
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) |
|
bool | cs_halo_get_use_barrier (void) |
|
void | cs_halo_set_use_barrier (bool use_barrier) |
|
void | cs_halo_dump (const cs_halo_t *halo, int print_level) |
|
◆ cs_halo_rotation_t
Enumerator |
---|
CS_HALO_ROTATION_COPY | |
CS_HALO_ROTATION_ZERO | |
CS_HALO_ROTATION_IGNORE | |
◆ cs_halo_type_t
Enumerator |
---|
CS_HALO_STANDARD | |
CS_HALO_EXTENDED | |
CS_HALO_N_TYPES | |
◆ cs_halo_create()
Create a halo structure given an interface set.
- Parameters
-
[in] | ifs | pointer to a cs_interface_set structure |
- Returns
- pointer to created cs_halo_t structure
◆ cs_halo_create_from_rank_neighbors()
Create a halo structure from distant element distant ranks and ids.
- Parameters
-
[in] | rn | associated rank neighbors info |
[in] | n_local_elts | number of elements for local rank |
[in] | n_distant_elts | number of distant elements for local rank |
[in] | elt_rank_id | distant element rank index in rank neighbors, ordered by rank (size: n_distant_elts) |
[in] | elt_id | distant element id (at distant rank), ordered by rank (size: n_distant_elts) |
- Returns
- pointer to created cs_halo_t structure
◆ cs_halo_create_from_ref()
Create a halo structure, given a reference halo.
- Parameters
-
[in] | ref | pointer to reference halo |
- Returns
- pointer to created cs_halo_t structure
◆ cs_halo_destroy()
brief Destroy a halo structure.
- Parameters
-
[in,out] | halo | pointer to pointer to cs_halo structure to destroy. |
◆ cs_halo_dump()
void cs_halo_dump |
( |
const cs_halo_t * |
halo, |
|
|
int |
print_level |
|
) |
| |
◆ cs_halo_free_buffer()
void cs_halo_free_buffer |
( |
void |
| ) |
|
◆ cs_halo_get_use_barrier()
bool cs_halo_get_use_barrier |
( |
void |
| ) |
|
◆ cs_halo_renumber_cells()
◆ cs_halo_renumber_ghost_cells()
◆ cs_halo_set_use_barrier()
void cs_halo_set_use_barrier |
( |
bool |
use_barrier | ) |
|
◆ cs_halo_sync_component()
◆ cs_halo_sync_components_strided()
◆ cs_halo_sync_num()
◆ cs_halo_sync_untyped()
◆ cs_halo_sync_var()
◆ cs_halo_sync_var_strided()
◆ cs_halo_update_buffers()
void cs_halo_update_buffers |
( |
const cs_halo_t * |
halo | ) |
|