Yet Another eXchange Tool  0.9.0
Functions
xt_redist_repeat.c File Reference
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
#include <mpi.h>
#include "core/core.h"
#include "core/ppm_xfuncs.h"
#include "xt/xt_mpi.h"
#include "xt_mpi_internal.h"
#include "xt/xt_redist_repeat.h"
#include "xt/xt_redist_single_array_base.h"
#include "ensure_array_size.h"
#include "xt/xt_redist.h"
#include "xt_redist_internal.h"
#include "xt_config_internal.h"
Include dependency graph for xt_redist_repeat.c:

Go to the source code of this file.

Functions

static void generate_msg_infos (struct Xt_redist_msg **msgs, int *nmsgs, MPI_Aint extent, const int *displacements, Xt_redist redist, int num_repetitions, MPI_Comm comm, enum xt_msg_direction direction)
 
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])
 
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_custom_new (Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int displacements[num_repetitions], Xt_config config)
 

Detailed Description

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_redist_repeat.c.

Function Documentation

◆ generate_msg_infos()

static void generate_msg_infos ( struct Xt_redist_msg **  msgs,
int *  nmsgs,
MPI_Aint  extent,
const int *  displacements,
Xt_redist  redist,
int  num_repetitions,
MPI_Comm  comm,
enum xt_msg_direction  direction 
)
static

Definition at line 68 of file xt_redist_repeat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_redist_repeat_asym_custom_new()

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 
)

constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution. Uses custom settings.

Parameters
[in]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]src_displacementsdisplacements for source repetitions
[in]dst_displacementsdisplacements for destination repetitions
[in]configconfiguration object for custom settings

Definition at line 115 of file xt_redist_repeat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_redist_repeat_asym_new()

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] 
)

constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution. Uses default settings.

Parameters
[in]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]src_displacementsdisplacements for source repetitions
[in]dst_displacementsdisplacements for destination repetitions

Definition at line 104 of file xt_redist_repeat.c.

Here is the call graph for this function:

◆ xt_redist_repeat_custom_new()

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 
)

constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution with custom settings

Parameters
[in]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]displacementsdisplacements for repetitions
[in]configconfiguration object for custom settings

Definition at line 157 of file xt_redist_repeat.c.

Here is the call graph for this function:

◆ xt_redist_repeat_new()

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] 
)

constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution with default settings

Parameters
[in]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]displacementsdisplacements for repetitions

Definition at line 149 of file xt_redist_repeat.c.

Here is the call graph for this function: