Static Public Member Functions | |
| static void | bcast (std::string &x, int src, const MPIComm &comm) |
| static void | bcast (Array< std::string > &x, int src, const MPIComm &comm) |
| static void | bcast (Array< Array< std::string > > &x, int src, const MPIComm &comm) |
| static void | allGather (const std::string &outgoing, Array< std::string > &incoming, const MPIComm &comm) |
| static void | gatherv (const Array< std::string > &outgoing, Array< Array< std::string > > &incoming, int rootRank, const MPIComm &comm) |
| static void | pack (const Array< std::string > &x, Array< char > &packed) |
| static void | unpack (const Array< char > &packed, Array< std::string > &x) |
Static Private Member Functions | |
| static void | getBigArray (const Array< std::string > &x, Array< char > &bigArray, Array< int > &offsets) |
| static void | getStrings (const Array< char > &bigArray, const Array< int > &offsets, Array< std::string > &x) |
Specialiaztion of MPIContainerComm<T> to std::string
Definition at line 119 of file PlayaMPIContainerComm.hpp.
| void Playa::MPIContainerComm< std::string >::allGather | ( | const std::string & | outgoing, |
| Array< std::string > & | incoming, | ||
| const MPIComm & | comm | ||
| ) | [inline, static] |
AllGather: each process sends a single object to all other procs
Definition at line 506 of file PlayaMPIContainerComm.hpp.
References Playa::MPIComm::allGather(), Playa::MPIComm::allGatherv(), Playa::MPIDataType::charType(), Playa::MPIComm::getNProc(), and Playa::MPIDataType::intType().
| void Playa::MPIContainerComm< std::string >::bcast | ( | std::string & | x, |
| int | src, | ||
| const MPIComm & | comm | ||
| ) | [inline, static] |
Definition at line 458 of file PlayaMPIContainerComm.hpp.
References Playa::MPIContainerComm< T >::bcast(), and Playa::MPIComm::bcast().
| void Playa::MPIContainerComm< std::string >::bcast | ( | Array< std::string > & | x, |
| int | src, | ||
| const MPIComm & | comm | ||
| ) | [inline, static] |
bcast an array of objects
Definition at line 469 of file PlayaMPIContainerComm.hpp.
References Playa::MPIContainerComm< T >::bcast(), Playa::MPIContainerComm< T >::getBigArray(), and Playa::MPIComm::getRank().
| void Playa::MPIContainerComm< std::string >::bcast | ( | Array< Array< std::string > > & | x, |
| int | src, | ||
| const MPIComm & | comm | ||
| ) | [inline, static] |
bcast an array of arrays
Definition at line 492 of file PlayaMPIContainerComm.hpp.
References Playa::MPIContainerComm< T >::bcast().
| void Playa::MPIContainerComm< std::string >::gatherv | ( | const Array< std::string > & | outgoing, |
| Array< Array< std::string > > & | incoming, | ||
| int | rootRank, | ||
| const MPIComm & | comm | ||
| ) | [inline, static] |
Gatherv: gather arrays of strings to the root processor
Definition at line 555 of file PlayaMPIContainerComm.hpp.
References Playa::MPIDataType::charType(), Playa::MPIComm::gather(), Playa::MPIComm::gatherv(), Playa::MPIComm::getNProc(), Playa::MPIComm::getRank(), Playa::MPIDataType::intType(), and Playa::max().
| void Playa::MPIContainerComm< std::string >::getBigArray | ( | const Array< std::string > & | x, |
| Array< char > & | bigArray, | ||
| Array< int > & | offsets | ||
| ) | [inline, static, private] |
get a single big array of characters from an array of strings
Definition at line 621 of file PlayaMPIContainerComm.hpp.
| void Playa::MPIContainerComm< std::string >::getStrings | ( | const Array< char > & | bigArray, |
| const Array< int > & | offsets, | ||
| Array< std::string > & | x | ||
| ) | [inline, static, private] |
recover an array of strings from a single big array and and offset table
Definition at line 702 of file PlayaMPIContainerComm.hpp.
| void Playa::MPIContainerComm< std::string >::pack | ( | const Array< std::string > & | x, |
| Array< char > & | packed | ||
| ) | [inline, static] |
get a single big array of characters from an array of strings, packing the structural description into the header of the packed array as follows:
[numStrings, offset0, offset1, ..., offsetN, char data]
Definition at line 646 of file PlayaMPIContainerComm.hpp.
| void Playa::MPIContainerComm< std::string >::unpack | ( | const Array< char > & | packed, |
| Array< std::string > & | x | ||
| ) | [inline, static] |
recover an array of strings from a single big array and and offset table
Definition at line 683 of file PlayaMPIContainerComm.hpp.