|
programmer's documentation
|
#include "cs_defs.h"#include <stdio.h>#include <string.h>#include <assert.h>#include "bft_mem.h"#include "bft_error.h"#include "bft_printf.h"#include "cs_base.h"#include "cs_order.h"#include "cs_interface.h"#include "cs_rank_neighbors.h"#include "fvm_periodicity.h"#include "cs_halo.h"
Functions | |
| 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_t* cs_halo_create | ( | const cs_interface_set_t * | ifs | ) |
Create a halo structure given an interface set.
| [in] | ifs | pointer to a cs_interface_set structure |
| 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.
| [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) |
Create a halo structure, given a reference halo.
| [in] | ref | pointer to reference halo |
| void cs_halo_destroy | ( | cs_halo_t ** | halo | ) |
brief Destroy a halo structure.
| [in,out] | halo | pointer to pointer to cs_halo structure to destroy. |
| void cs_halo_dump | ( | const cs_halo_t * | halo, |
| int | print_level | ||
| ) |
| void cs_halo_free_buffer | ( | void | ) |
| bool cs_halo_get_use_barrier | ( | void | ) |
| void cs_halo_set_use_barrier | ( | bool | use_barrier | ) |
| 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 | ||
| ) |
| void cs_halo_sync_num | ( | const cs_halo_t * | halo, |
| cs_halo_type_t | sync_mode, | ||
| cs_lnum_t | num[] | ||
| ) |
| 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_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_update_buffers | ( | const cs_halo_t * | halo | ) |
1.8.13