|
YAC 3.21.0
Yet Another Coupler
|
#include "yac_mpi.h"

Go to the source code of this file.
Functions | |
| size_t | yac_param_get_pack_size (struct yac_param *param, MPI_Comm comm, char const *routine) |
| Get the size in bytes required to pack a given parameter using MPI_Pack_size. | |
| void | yac_param_pack (struct yac_param *param, void *buffer, int buffer_size, int *position, MPI_Comm comm, char const *routine) |
| Pack a parameter into an MPI buffer. | |
| void | yac_param_unpack (struct yac_param *param, void const *buffer, int buffer_size, int *position, MPI_Comm comm, char const *routine) |
| Unpack a parameter from an MPI buffer and apply its values to the given parameter. | |
| size_t yac_param_get_pack_size | ( | struct yac_param * | param, |
| MPI_Comm | comm, | ||
| char const * | routine ) |
Get the size in bytes required to pack a given parameter using MPI_Pack_size.
| param | Pointer to parameter that will be packed. |
| comm | MPI communicator (for MPI_Pack_size). |
| routine | Name of the calling routine (for error messages). |
Get the size in bytes required to pack a given parameter using MPI_Pack_size.
Definition at line 257 of file param_utils.c.


| void yac_param_pack | ( | struct yac_param * | param, |
| void * | buffer, | ||
| int | buffer_size, | ||
| int * | position, | ||
| MPI_Comm | comm, | ||
| char const * | routine ) |
Pack a parameter into an MPI buffer.
| param | Pointer to parameter that will be packed. |
| buffer | Buffer to pack into. |
| buffer_size | Size of buffer. |
| position | Position in buffer (as in MPI_Pack). |
| comm | MPI communicator. |
| routine | Name of the calling routine (for error messages). |
Pack a parameter into an MPI buffer.
Definition at line 493 of file param_utils.c.


| void yac_param_unpack | ( | struct yac_param * | param, |
| void const * | buffer, | ||
| int | buffer_size, | ||
| int * | position, | ||
| MPI_Comm | comm, | ||
| char const * | routine ) |
Unpack a parameter from an MPI buffer and apply its values to the given parameter.
| param | Pointer to parameter that will receive the unpacked values. |
| buffer | Buffer to unpack from. |
| buffer_size | Size of buffer. |
| position | Position in buffer (as in MPI_Unpack). |
| comm | MPI communicator. |
| routine | Name of the calling routine (for error messages). |
Definition at line 703 of file param_utils.c.

