OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
bcast_inte_impl< vect > Struct Template Reference

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

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 187 of file MPI_IBcastW.hpp.

#include <MPI_IBcastW.hpp>

Public Member Functions

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

Data Fields

vect & send
 vector to broadcast
 
openfpm::vector< MPI_Request > & req
 vector of requests
 
size_t root
 root processor
 

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 
)
inline

constructor

Parameters
vset of pointer buffers to set

Definition at line 203 of file MPI_IBcastW.hpp.

Member Function Documentation

◆ operator()()

template<typename vect >
template<typename T >
void bcast_inte_impl< vect >::operator() ( T &  t)
inline

It call the copy function for each property.

Definition at line 211 of file MPI_IBcastW.hpp.

Field Documentation

◆ req

template<typename vect >
openfpm::vector<MPI_Request>& bcast_inte_impl< vect >::req

vector of requests

Definition at line 193 of file MPI_IBcastW.hpp.

◆ root

template<typename vect >
size_t bcast_inte_impl< vect >::root

root processor

Definition at line 196 of file MPI_IBcastW.hpp.

◆ send

template<typename vect >
vect& bcast_inte_impl< vect >::send

vector to broadcast

Definition at line 190 of file MPI_IBcastW.hpp.


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