Yet Another eXchange Tool  0.9.0
Functions
xt_redist_collection_static.c File Reference
#include <assert.h>
#include <limits.h>
#include <stdbool.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_collection_static.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_collection_static.c:

Go to the source code of this file.

Functions

static size_t generate_msg_infos (struct Xt_redist_msg **msgs, const MPI_Aint *displacements, const Xt_redist *redists, size_t num_redists, MPI_Comm comm, enum xt_msg_direction direction)
 
Xt_redist xt_redist_collection_static_new (Xt_redist *redists, int num_redists, const MPI_Aint src_displacements[num_redists], const MPI_Aint dst_displacements[num_redists], MPI_Comm comm)
 
Xt_redist xt_redist_collection_static_custom_new (Xt_redist *redists, int num_redists, const MPI_Aint src_displacements[num_redists], const MPI_Aint dst_displacements[num_redists], MPI_Comm comm, 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_collection_static.c.

Function Documentation

◆ generate_msg_infos()

static size_t generate_msg_infos ( struct Xt_redist_msg **  msgs,
const MPI_Aint *  displacements,
const Xt_redist redists,
size_t  num_redists,
MPI_Comm  comm,
enum xt_msg_direction  direction 
)
static

Definition at line 70 of file xt_redist_collection_static.c.

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

◆ xt_redist_collection_static_custom_new()

Xt_redist xt_redist_collection_static_custom_new ( Xt_redist redists,
int  num_redists,
const MPI_Aint  src_displacements[num_redists],
const MPI_Aint  dst_displacements[num_redists],
MPI_Comm  comm,
Xt_config  config 
)

constructor for a redistribution collection that is comprised of multiple other redistributions with custom settings

Parameters
[in]redistsredistributions
[in]num_redistsnumber of redistributions
[in]src_displacementsarray of displacements of the source input arrays for the exchange
[in]dst_displacementsarray of displacements of the destination input arrays for the exchange
[in]commMPI communicator
[in]configconfiguration object for customizable settings
Remarks
all redistributions need to be based on the same MPI communicator
See Also
correct_addresses

Definition at line 134 of file xt_redist_collection_static.c.

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

◆ xt_redist_collection_static_new()

Xt_redist xt_redist_collection_static_new ( Xt_redist redists,
int  num_redists,
const MPI_Aint  src_displacements[num_redists],
const MPI_Aint  dst_displacements[num_redists],
MPI_Comm  comm 
)

constructor for a redistribution collection that is comprised of multiple other redistributions with default settings

Parameters
[in]redistsredistributions
[in]num_redistsnumber of redistributions
[in]src_displacementsarray of displacements of the source input arrays for the exchange
[in]dst_displacementsarray of displacements of the destination input arrays for the exchange
[in]commMPI communicator
Remarks
all redistributions need to be based on the same MPI communicator
See Also
correct_addresses

Definition at line 123 of file xt_redist_collection_static.c.

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