Yet Another eXchange Tool 0.11.4
Loading...
Searching...
No Matches
xt_xmap_intersection.h
Go to the documentation of this file.
1
12/*
13 * Keywords:
14 * Maintainer: Jörg Behrens <behrens@dkrz.de>
15 * Moritz Hanke <hanke@dkrz.de>
16 * Thomas Jahns <jahns@dkrz.de>
17 * URL: https://dkrz-sw.gitlab-pages.dkrz.de/yaxt/
18 *
19 * Redistribution and use in source and binary forms, with or without
20 * modification, are permitted provided that the following conditions are
21 * met:
22 *
23 * Redistributions of source code must retain the above copyright notice,
24 * this list of conditions and the following disclaimer.
25 *
26 * Redistributions in binary form must reproduce the above copyright
27 * notice, this list of conditions and the following disclaimer in the
28 * documentation and/or other materials provided with the distribution.
29 *
30 * Neither the name of the DKRZ GmbH nor the names of its contributors
31 * may be used to endorse or promote products derived from this software
32 * without specific prior written permission.
33 *
34 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
35 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
36 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
37 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
38 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
39 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
40 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
41 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
42 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
43 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 */
46
47#ifndef XT_XMAP_INTERSECTION_H
48#define XT_XMAP_INTERSECTION_H
49
50#ifdef HAVE_CONFIG_H
51#include <config.h>
52#endif
53
54#include <xt/xt_core.h>
55
59struct Xt_com_pos {
60 // list of relative positions in memory to send or receive
63 int rank;
64};
65
84xt_xmap_intersection_new(int num_src_intersections,
85 const struct Xt_com_list
86 src_com[num_src_intersections],
87 int num_dst_intersections,
88 const struct Xt_com_list
89 dst_com[num_dst_intersections],
90 Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist,
91 MPI_Comm comm);
92
113 int num_src_intersections,
114 const struct Xt_com_list src_com[num_src_intersections],
115 int num_dst_intersections,
116 const struct Xt_com_list dst_com[num_dst_intersections],
117 Xt_idxlist src_idxlist,
118 Xt_idxlist dst_idxlist,
119 MPI_Comm comm,
120 Xt_config config);
121
146 int num_src_intersections,
147 const struct Xt_com_list src_com[num_src_intersections],
148 int num_dst_intersections,
149 const struct Xt_com_list dst_com[num_dst_intersections],
150 Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist,
151 MPI_Comm comm);
152
178 int num_src_intersections,
179 const struct Xt_com_list src_com[num_src_intersections],
180 int num_dst_intersections,
181 const struct Xt_com_list dst_com[num_dst_intersections],
182 Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist,
183 MPI_Comm comm, Xt_config config);
184
201 int num_src_msg, const struct Xt_com_pos src_com[num_src_msg],
202 int num_dst_msg, const struct Xt_com_pos dst_com[num_dst_msg],
203 MPI_Comm comm);
204
205#endif // XT_XMAP_INTERSECTION_H
206
207/*
208 * Local Variables:
209 * c-basic-offset: 2
210 * coding: utf-8
211 * indent-tabs-mode: nil
212 * show-trailing-whitespace: t
213 * require-trailing-newline: t
214 * End:
215 */
int MPI_Comm
Definition core.h:64
base definitions header file
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_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_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 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)