OpenFPM  5.2.0
Project that contain the implementation of distributed structures
bcast_inte_impl< vect > Struct Template Reference

this class is a functor for "for_each" algorithm More...

#include <MPI_IBcastW.hpp>

Public Member Functions

 bcast_inte_impl (vect &send, openfpm::vector< MPI_Request > &req, size_t root, MPI_Comm ext_comm=MPI_COMM_WORLD)
 constructor More...
 
template<typename T >
void operator() (T &t)
 It call the copy function for each property.
 

Data Fields

MPI_Comm ext_comm
 External Communicator.
 
vect & send
 vector to broadcast
 
openfpm::vector< MPI_Request > & req
 vector of requests
 
size_t root
 root processor
 

Detailed Description

template<typename vect>
struct bcast_inte_impl< vect >

this class is a functor for "for_each" algorithm

This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to process broadcast request for each buffer

Definition at line 186 of file MPI_IBcastW.hpp.

Constructor & Destructor Documentation

◆ bcast_inte_impl()

template<typename vect >
bcast_inte_impl< vect >::bcast_inte_impl ( vect &  send,
openfpm::vector< MPI_Request > &  req,
size_t  root,
MPI_Comm  ext_comm = MPI_COMM_WORLD 
)
inline

constructor

Parameters
vset of pointer buffers to set

Definition at line 205 of file MPI_IBcastW.hpp.


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