Go to the source code of this file.
|
Xt_xmap | xt_xmap_intersection_new (int num_src_intersections, const struct Xt_com_list src_com[num_src_intersections], int num_dst_intersections, const struct Xt_com_list dst_com[num_dst_intersections], Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist, MPI_Comm comm) |
|
Xt_xmap | xt_xmap_intersection_custom_new (int num_src_intersections, const struct Xt_com_list src_com[num_src_intersections], int num_dst_intersections, const struct Xt_com_list dst_com[num_dst_intersections], Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist, MPI_Comm comm, Xt_config config) |
|
Xt_xmap | xt_xmap_intersection_ext_new (int num_src_intersections, const struct Xt_com_list src_com[num_src_intersections], int num_dst_intersections, const struct Xt_com_list dst_com[num_dst_intersections], Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist, MPI_Comm comm) |
|
Xt_xmap | xt_xmap_intersection_ext_custom_new (int num_src_intersections, const struct Xt_com_list src_com[num_src_intersections], int num_dst_intersections, const struct Xt_com_list dst_com[num_dst_intersections], Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist, MPI_Comm comm, Xt_config config) |
|
Xt_xmap | xt_xmap_intersection_pos_new (int num_src_msg, const struct Xt_com_pos src_com[num_src_msg], int num_dst_msg, const struct Xt_com_pos dst_com[num_dst_msg], MPI_Comm comm) |
|
◆ xt_xmap_intersection_custom_new()
constructor for an exchange map
this operation is collective over all processes in comm
it uses the provided intersection information to generate the exchange map
- Parameters
-
[in] | num_src_intersections | number of source intersections |
[in] | src_com | array containing the source intersections with the other processes and their rank |
[in] | num_dst_intersections | number of destination intersections |
[in] | dst_com | array containing the destination intersections with the other processes and their rank |
[in] | src_idxlist | source index list |
[in] | dst_idxlist | destination index list |
[in] | comm | MPI communicator that contains all processes that part in the exchange |
[in] | config | custom configuration parameters |
◆ xt_xmap_intersection_ext_custom_new()
constructor for an exchange map
This operation is collective over all processes in comm
it uses the provided intersection information to generate the exchange map. Internally this function uses ranges to represent index list positions and is therefore conserving space for somewhat contiguous index lists. Depending on the size and shape of intersections this can impact performance drastically.
- Parameters
-
[in] | num_src_intersections | number of source intersections |
[in] | src_com | array containing the source intersections with the other processes and their rank |
[in] | num_dst_intersections | number of destination intersections |
[in] | dst_com | array containing the destination intersections with the other processes and their rank |
[in] | src_idxlist | source index list |
[in] | dst_idxlist | destination index list |
[in] | comm | MPI communicator that contains all processes that part in the exchange |
[in] | config | custom parameter object |
Definition at line 354 of file xt_xmap_intersection_ext.c.
◆ xt_xmap_intersection_ext_new()
constructor for an exchange map
This operation is collective over all processes in comm
it uses the provided intersection information to generate the exchange map. Internally this function uses ranges to represent index list positions and is therefore conserving space for somewhat contiguous index lists. Depending on the size and shape of intersections this can impact performance drastically.
- Parameters
-
[in] | num_src_intersections | number of source intersections |
[in] | src_com | array containing the source intersections with the other processes and their rank |
[in] | num_dst_intersections | number of destination intersections |
[in] | dst_com | array containing the destination intersections with the other processes and their rank |
[in] | src_idxlist | source index list |
[in] | dst_idxlist | destination index list |
[in] | comm | MPI communicator that contains all processes that part in the exchange |
Definition at line 337 of file xt_xmap_intersection_ext.c.
◆ xt_xmap_intersection_new()
constructor for an exchange map
this operation is collective over all processes in comm
it uses the provided intersection information to generate the exchange map
- Parameters
-
[in] | num_src_intersections | number of source intersections |
[in] | src_com | array containing the source intersections with the other processes and their rank |
[in] | num_dst_intersections | number of destination intersections |
[in] | dst_com | array containing the destination intersections with the other processes and their rank |
[in] | src_idxlist | source index list |
[in] | dst_idxlist | destination index list |
[in] | comm | MPI communicator that contains all processes that part in the exchange |
Definition at line 595 of file xt_xmap_intersection.c.
◆ xt_xmap_intersection_pos_new()
Xt_xmap xt_xmap_intersection_pos_new |
( |
int | num_src_msg, |
|
|
const struct Xt_com_pos | src_com[num_src_msg], |
|
|
int | num_dst_msg, |
|
|
const struct Xt_com_pos | dst_com[num_dst_msg], |
|
|
MPI_Comm | comm ) |
constructor for an exchange map
this operation is collective over all processes in comm
it uses the provided intersection information to generate the exchange map
- Parameters
-
[in] | num_src_msg | number of source messages |
[in] | src_com | array containing relative positions for all source messages and the destination rank |
[in] | num_dst_msg | number of destination messages |
[in] | dst_com | array containing relative positions for all destination messages and the source rank |
[in] | comm | MPI communicator that contains all processes that part in the exchange |
- Examples
- test_xmap_intersection_parallel.c.
Definition at line 1075 of file xt_xmap_intersection.c.