libpressio 0.93.0
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
distributed::comm::serializer::serializer< pressio_options > Struct Reference

#include <serializable.h>

Public Types

using mpi_type = std::false_type
 

Static Public Member Functions

static MPI_Datatype dtype ()
 
static std::string name ()
 
static int send (pressio_options const &data, int dest, int tag, MPI_Comm comm)
 
static int recv (pressio_options &data, int source, int tag, MPI_Comm comm, MPI_Status *status)
 
static int bcast (pressio_options &data, int root, MPI_Comm comm)
 

Detailed Description

serializer for pressio_options tyeps

Member Typedef Documentation

◆ mpi_type

using distributed::comm::serializer::serializer< pressio_options >::mpi_type = std::false_type

is the type representable with mpi_types

Member Function Documentation

◆ bcast()

static int distributed::comm::serializer::serializer< pressio_options >::bcast ( pressio_options data,
int  root,
MPI_Comm  comm 
)
static

broadcast a value

Parameters
[in]datathe datatype to broadcast
[in]rootthe root to broadcast from
[in]commthe communicator to use

◆ dtype()

static MPI_Datatype distributed::comm::serializer::serializer< pressio_options >::dtype ( )
inlinestatic

type MPI_Datatype when mpi_type is true

◆ name()

static std::string distributed::comm::serializer::serializer< pressio_options >::name ( )
inlinestatic

name of the data type

◆ recv()

static int distributed::comm::serializer::serializer< pressio_options >::recv ( pressio_options data,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Status *  status 
)
static

recv the value

Parameters
[out]datathe datatype to serialize
[in]sourcethe destination to send to
[in]tagthe tag to use
[in]commthe comm to serialize to
[out]statusthe optional status to receive
Returns
an error code

◆ send()

static int distributed::comm::serializer::serializer< pressio_options >::send ( pressio_options const &  data,
int  dest,
int  tag,
MPI_Comm  comm 
)
static

send the value

Parameters
[in]datathe data to serialize
[in]destthe destination to send to
[in]tagthe tag to use
[in]commthe comm to serialize to
Returns
an error code

The documentation for this struct was generated from the following file: