YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
collection_selection_internal.h File Reference
Include dependency graph for collection_selection_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct yac_collection_selectionyac_collection_selection_copy (struct yac_collection_selection const *collection_selection)
 Selection of indices from a collection.
 
int yac_collection_selection_is_contiguous (struct yac_collection_selection const *collection_selection)
 Query whether a selection is contiguous.
 
size_t yac_collection_selection_get_collection_size (struct yac_collection_selection const *collection_selection)
 Get the size of the collection selection.
 
size_t const * yac_collection_selection_get_indices (struct yac_collection_selection const *collection_selection)
 Get explicit selection indices if non-contiguous.
 
size_t yac_collection_selection_get_max_index (struct yac_collection_selection const *collection_selection)
 Get the maximum index of a collection selection.
 
int yac_collection_selection_compare (struct yac_collection_selection const *a, struct yac_collection_selection const *b)
 Compare two collection selections.
 
size_t yac_collection_selection_get_pack_size (struct yac_collection_selection const *sel, MPI_Comm comm)
 Compute the MPI pack size of a collection selection.
 
void yac_collection_selection_pack (struct yac_collection_selection const *sel, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 Pack a collection selection into a contiguous MPI buffer.
 
struct yac_collection_selectionyac_collection_selection_unpack (void const *buffer, int buffer_size, int *position, MPI_Comm comm)
 Unpack a collection selection from a contiguous MPI buffer.