YetAnotherCoupler 3.5.2
|
#include "config.h"
#include "yac_mpi_common.h"
#include "yac_mpi_internal.h"
#include "remote_point.h"
Go to the source code of this file.
Functions | |
MPI_Datatype | yac_get_remote_point_info_mpi_datatype (MPI_Comm comm) |
int | yac_remote_point_infos_get_pack_size (struct remote_point_infos const *infos, MPI_Datatype point_info_dt, MPI_Comm comm) |
int | yac_remote_point_get_pack_size (struct remote_point *point, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_point_infos_pack (struct remote_point_infos const *infos, void *buffer, int buffer_size, int *position, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_point_pack (struct remote_point *point, void *buffer, int buffer_size, int *position, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_point_infos_unpack (void *buffer, int buffer_size, int *position, struct remote_point_infos *infos, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_point_unpack (void *buffer, int buffer_size, int *position, struct remote_point *point, MPI_Datatype point_info_dt, MPI_Comm comm) |
int | yac_remote_points_get_pack_size (struct remote_points *points, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_points_pack (struct remote_points *points, void *buffer, int buffer_size, int *position, MPI_Datatype point_info_dt, MPI_Comm comm) |
static void | yac_remote_point_infos_unpack_info_buffer (void *buffer, int buffer_size, int *position, struct remote_point_info *info_buffer, size_t *info_buffer_position, struct remote_point_infos *infos, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_point_unpack_info_buffer (void *buffer, int buffer_size, int *position, struct remote_point_info *info_buffer, size_t *info_buffer_position, struct remote_point *point, MPI_Datatype point_info_dt, MPI_Comm comm) |
void | yac_remote_points_unpack (void *buffer, int buffer_size, int *position, struct remote_points **points, MPI_Datatype point_info_dt, MPI_Comm comm) |
MPI_Datatype yac_get_remote_point_info_mpi_datatype | ( | MPI_Comm | comm | ) |
generates an MPI Datatype for struct remote_point_info
[in] | comm | communicator |
Definition at line 14 of file remote_point.c.
int yac_remote_point_get_pack_size | ( | struct remote_point * | point, |
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
computes the maximum size required by MPI to pack the provided point of type struct remote_point
[in] | point | point for which the pack size is to be determined |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 46 of file remote_point.c.
int yac_remote_point_infos_get_pack_size | ( | struct remote_point_infos const * | infos, |
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
computes the maximum size required by MPI to pack the provided point information of type struct remote_point_infos
[in] | infos | point information for which the pack size is to be determined |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 32 of file remote_point.c.
void yac_remote_point_infos_pack | ( | struct remote_point_infos const * | infos, |
void * | buffer, | ||
int | buffer_size, | ||
int * | position, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
packs a provided remote_point_infos; this is simlar to MPI_Pack
[in] | infos | remote_point to be packed |
[in,out] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | packing position |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 59 of file remote_point.c.
void yac_remote_point_infos_unpack | ( | void * | buffer, |
int | buffer_size, | ||
int * | position, | ||
struct remote_point_infos * | infos, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
unpacks and allocates a remote_point_infos from a buffer; this is similar to MPI_Unpack
[in] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | unpacking position |
[out] | infos | unpacked point information |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 87 of file remote_point.c.
|
static |
void yac_remote_point_pack | ( | struct remote_point * | point, |
void * | buffer, | ||
int | buffer_size, | ||
int * | position, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
packs a provided remote_point; this is simlar to MPI_Pack
[in] | point | remote_point to be packed |
[in,out] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | packing position |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 75 of file remote_point.c.
void yac_remote_point_unpack | ( | void * | buffer, |
int | buffer_size, | ||
int * | position, | ||
struct remote_point * | point, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
unpacks and allocates a remote_point from a buffer; this is similar to MPI_Unpack
[in] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | unpacking position |
[out] | point | unpacked point |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 112 of file remote_point.c.
void yac_remote_point_unpack_info_buffer | ( | void * | buffer, |
int | buffer_size, | ||
int * | position, | ||
struct remote_point_info * | info_buffer, | ||
size_t * | info_buffer_position, | ||
struct remote_point * | point, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
Definition at line 186 of file remote_point.c.
int yac_remote_points_get_pack_size | ( | struct remote_points * | points, |
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
computes the maximum size required by MPI to pack the provided points of type struct remote_points
[in] | points | points for which the pack size is to be determined |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 124 of file remote_point.c.
void yac_remote_points_pack | ( | struct remote_points * | points, |
void * | buffer, | ||
int | buffer_size, | ||
int * | position, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
packs provided remote_points; this is simlar to MPI_Pack
[in] | points | remote_points to be packed |
[in,out] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | packing position |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 142 of file remote_point.c.
void yac_remote_points_unpack | ( | void * | buffer, |
int | buffer_size, | ||
int * | position, | ||
struct remote_points ** | points, | ||
MPI_Datatype | point_info_dt, | ||
MPI_Comm | comm ) |
unpacks and allocates remote_points from a buffer; this is similar to MPI_Unpack
[in] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | unpacking position |
[out] | points | unpacked points |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 200 of file remote_point.c.