#include <serializable.h>
serializer for pressio_data tyeps
◆ mpi_type
using distributed::comm::serializer::serializer< pressio_data >::mpi_type = std::false_type |
is the type representable with mpi_types
◆ bcast()
static int distributed::comm::serializer::serializer< pressio_data >::bcast |
( |
pressio_data & |
data, |
|
|
int |
root, |
|
|
MPI_Comm |
comm |
|
) |
| |
|
static |
broadcast a value
- Parameters
-
[in,out] | data | the datatype to broadcast |
[in] | root | the root to broadcast from |
[in] | comm | the communicator to use |
◆ dtype()
static MPI_Datatype distributed::comm::serializer::serializer< pressio_data >::dtype |
( |
| ) |
|
|
inlinestatic |
type MPI_Datatype when mpi_type is true
◆ name()
static std::string distributed::comm::serializer::serializer< pressio_data >::name |
( |
| ) |
|
|
inlinestatic |
◆ recv()
static int distributed::comm::serializer::serializer< pressio_data >::recv |
( |
pressio_data & |
data, |
|
|
int |
source, |
|
|
int |
tag, |
|
|
MPI_Comm |
comm, |
|
|
MPI_Status * |
status |
|
) |
| |
|
static |
recv the value
- Parameters
-
[out] | data | the datatype to serialize |
[in] | source | the destination to send to |
[in] | tag | the tag to use |
[in] | comm | the comm to serialize to |
[out] | status | the optional status to receive |
- Returns
- an error code
◆ send()
static int distributed::comm::serializer::serializer< pressio_data >::send |
( |
pressio_data const & |
data, |
|
|
int |
dest, |
|
|
int |
tag, |
|
|
MPI_Comm |
comm |
|
) |
| |
|
static |
send the value
- Parameters
-
[in] | data | the data to serialize |
[in] | dest | the destination to send to |
[in] | tag | the tag to use |
[in] | comm | the comm to serialize to |
- Returns
- an error code
The documentation for this struct was generated from the following file: