#include <serializable.h>
serializer for pressio_option tyeps
◆ mpi_type
using distributed::comm::serializer::serializer< pressio_option >::mpi_type = std::false_type |
is the type representable with mpi_types
◆ bcast()
broadcast a value
- Parameters
-
[in] | 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_option >::dtype |
( |
| ) |
|
|
inlinestatic |
type MPI_Datatype when mpi_type is true
◆ name()
static std::string distributed::comm::serializer::serializer< pressio_option >::name |
( |
| ) |
|
|
inlinestatic |
◆ recv()
static int distributed::comm::serializer::serializer< pressio_option >::recv |
( |
pressio_option & |
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_option >::send |
( |
pressio_option 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: