Yet Another eXchange Tool  0.9.0
xt_redist_repeat.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://doc.redmine.dkrz.de/yaxt/html/
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_REDIST_REPEAT_H
48 #define XT_REDIST_REPEAT_H
49 
50 #ifdef HAVE_CONFIG_H
51 #include <config.h>
52 #endif
53 
54 #include "xt/xt_redist.h"
55 #include "xt/xt_config.h"
56 
79 Xt_redist xt_redist_repeat_new(Xt_redist redist, MPI_Aint src_extent,
80  MPI_Aint dst_extent, int num_repetitions,
81  const int displacements[num_repetitions]);
82 
97 Xt_redist xt_redist_repeat_custom_new(Xt_redist redist, MPI_Aint src_extent,
98  MPI_Aint dst_extent, int num_repetitions,
99  const int displacements[num_repetitions],
100  Xt_config config);
101 
116 Xt_redist
117 xt_redist_repeat_asym_new(Xt_redist redist, MPI_Aint src_extent,
118  MPI_Aint dst_extent, int num_repetitions,
119  const int src_displacements[num_repetitions],
120  const int dst_displacements[num_repetitions]);
121 
137 Xt_redist
138 xt_redist_repeat_asym_custom_new(Xt_redist redist, MPI_Aint src_extent,
139  MPI_Aint dst_extent, int num_repetitions,
140  const int src_displacements[num_repetitions],
141  const int dst_displacements[num_repetitions],
142  Xt_config config);
143 
144 #endif // XT_REDIST_REPEAT_H
145 
146 /*
147  * Local Variables:
148  * c-basic-offset: 2
149  * coding: utf-8
150  * indent-tabs-mode: nil
151  * show-trailing-whitespace: t
152  * require-trailing-newline: t
153  * End:
154  */
opaque configuration object for settings where the default needs to be overridden
redistribution of data
Xt_redist xt_redist_repeat_custom_new(Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int displacements[num_repetitions], Xt_config config)
Xt_redist xt_redist_repeat_asym_custom_new(Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int src_displacements[num_repetitions], const int dst_displacements[num_repetitions], Xt_config config)
Xt_redist xt_redist_repeat_new(Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int displacements[num_repetitions])
Xt_redist xt_redist_repeat_asym_new(Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int src_displacements[num_repetitions], const int dst_displacements[num_repetitions])