Utility functions shared by xt_xmap_intersection and xt_xmap_intersection_ext.
More...
Go to the source code of this file.
|
static struct pos_run | get_pos_run_len (size_t num_pos, const int *restrict pos) |
|
static size_t | count_pos_ext (size_t num_pos, const int *restrict pos) |
|
static void | generate_pos_ext (size_t num_pos, const int *restrict pos, size_t num_pos_ext, struct Xt_pos_ext *restrict pos_ext) |
|
static size_t | count_pos (size_t num_pos_ext, const struct Xt_pos_ext *restrict pos_ext) |
|
static void | generate_pos (size_t num_pos_ext, const struct Xt_pos_ext *restrict pos_ext, size_t num_pos, int *restrict pos) |
|
static void | print_miss_msg (Xt_idxlist dst_idxlist, int missing_pos, MPI_Comm comm, const char *source, int line) __attribute__((noreturn)) |
|
◆ count_pos()
static size_t count_pos |
( |
size_t | num_pos_ext, |
|
|
const struct Xt_pos_ext *restrict | pos_ext ) |
|
inlinestatic |
◆ count_pos_ext()
static size_t count_pos_ext |
( |
size_t | num_pos, |
|
|
const int *restrict | pos ) |
|
static |
◆ generate_pos()
static void generate_pos |
( |
size_t | num_pos_ext, |
|
|
const struct Xt_pos_ext *restrict | pos_ext, |
|
|
size_t | num_pos, |
|
|
int *restrict | pos ) |
|
inlinestatic |
◆ generate_pos_ext()
static void generate_pos_ext |
( |
size_t | num_pos, |
|
|
const int *restrict | pos, |
|
|
size_t | num_pos_ext, |
|
|
struct Xt_pos_ext *restrict | pos_ext ) |
|
inlinestatic |
◆ get_pos_run_len()
static struct pos_run get_pos_run_len |
( |
size_t | num_pos, |
|
|
const int *restrict | pos ) |
|
inlinestatic |
◆ print_miss_msg()
static void print_miss_msg |
( |
Xt_idxlist | dst_idxlist, |
|
|
int | missing_pos, |
|
|
MPI_Comm | comm, |
|
|
const char * | source, |
|
|
int | line ) |
|
inlinestatic |