#include <ampiimpl.h>
Public Member Functions | |
ampiCommStruct (int ignored=0) noexcept | |
ampiCommStruct (MPI_Comm comm_, const CkArrayID &id_, int size_) noexcept | |
ampiCommStruct (MPI_Comm comm_, const CkArrayID &id_, const vector< int > &indices_) noexcept | |
ampiCommStruct (MPI_Comm comm_, const CkArrayID &id_, const vector< int > &indices_, const vector< int > &remoteIndices_) noexcept | |
~ampiCommStruct () noexcept | |
ampiCommStruct (const ampiCommStruct &obj, int topoNumber=MPI_UNDEFINED) noexcept | |
ampiCommStruct & | operator= (const ampiCommStruct &obj) noexcept |
const ampiTopology * | getTopologyforNeighbors () const noexcept |
ampiTopology * | getTopology () noexcept |
bool | isinter () const noexcept |
void | setArrayID (const CkArrayID &nID) noexcept |
MPI_Comm | getComm () const noexcept |
vector< int > | getIndices () const noexcept |
vector< int > | getRemoteIndices () const noexcept |
vector< int > & | getKeyvals () noexcept |
void | setName (const char *src) noexcept |
void | getName (char *name, int *len) const noexcept |
CProxy_ampi | getProxy () const noexcept |
int | getIndexForRank (int r) const noexcept |
int | getIndexForRemoteRank (int r) const noexcept |
int | getRankForIndex (int i) const noexcept |
int | getSize () const noexcept |
void | pup (PUP::er &p) noexcept |
Private Attributes | |
MPI_Comm | comm |
CkArrayID | ampiID |
int | size |
AmpiCommType | commType |
groupStruct | indices |
groupStruct | remoteIndices |
ampiTopology * | ampiTopo |
int | topoType |
vector< int > | keyvals |
std::string | commName |
Definition at line 686 of file ampiimpl.h.
ampiCommStruct::ampiCommStruct | ( | int | ignored = 0 |
) | [inline] |
Definition at line 705 of file ampiimpl.h.
Definition at line 708 of file ampiimpl.h.
ampiCommStruct::ampiCommStruct | ( | MPI_Comm | comm_, | |
const CkArrayID & | id_, | |||
const vector< int > & | indices_ | |||
) | [inline] |
Definition at line 712 of file ampiimpl.h.
ampiCommStruct::ampiCommStruct | ( | MPI_Comm | comm_, | |
const CkArrayID & | id_, | |||
const vector< int > & | indices_, | |||
const vector< int > & | remoteIndices_ | |||
) | [inline] |
Definition at line 716 of file ampiimpl.h.
ampiCommStruct::~ampiCommStruct | ( | ) | [inline] |
Definition at line 722 of file ampiimpl.h.
ampiCommStruct::ampiCommStruct | ( | const ampiCommStruct & | obj, | |
int | topoNumber = MPI_UNDEFINED | |||
) | [inline] |
Definition at line 728 of file ampiimpl.h.
References ampiID, comm, comm, commName, commType, indices, keyvals, remoteIndices, size, and Amm< T, N >::size().
ampiCommStruct& ampiCommStruct::operator= | ( | const ampiCommStruct & | obj | ) | [inline] |
Definition at line 754 of file ampiimpl.h.
References comm, and Amm< T, N >::size().
const ampiTopology* ampiCommStruct::getTopologyforNeighbors | ( | ) | const [inline] |
Definition at line 784 of file ampiimpl.h.
ampiTopology* ampiCommStruct::getTopology | ( | ) | [inline] |
Definition at line 788 of file ampiimpl.h.
Referenced by AMPI_API_IMPL().
bool ampiCommStruct::isinter | ( | ) | const [inline] |
void ampiCommStruct::setArrayID | ( | const CkArrayID & | nID | ) | [inline] |
Definition at line 793 of file ampiimpl.h.
MPI_Comm ampiCommStruct::getComm | ( | ) | const [inline] |
Definition at line 795 of file ampiimpl.h.
References comm.
Referenced by final::comm2group().
vector<int> ampiCommStruct::getIndices | ( | ) | const [inline] |
Definition at line 796 of file ampiimpl.h.
Referenced by final::group2vec().
vector<int> ampiCommStruct::getRemoteIndices | ( | ) | const [inline] |
Definition at line 797 of file ampiimpl.h.
Referenced by final::getRemoteSize().
vector<int>& ampiCommStruct::getKeyvals | ( | ) | [inline] |
Definition at line 798 of file ampiimpl.h.
Referenced by AMPI_API_IMPL(), and final::getKeyvals().
void ampiCommStruct::setName | ( | const char * | src | ) | [inline] |
Definition at line 800 of file ampiimpl.h.
References CkDDT_SetName(), and src.
void ampiCommStruct::getName | ( | char * | name, | |
int * | len | |||
) | const [inline] |
CProxy_ampi ampiCommStruct::getProxy | ( | ) | const |
Definition at line 814 of file ampiimpl.h.
References r, and Amm< T, N >::size().
int ampiCommStruct::getSize | ( | void | ) | const [inline] |
Definition at line 837 of file ampiimpl.h.
References Amm< T, N >::size().
Referenced by AMPI_API_IMPL().
void ampiCommStruct::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 839 of file ampiimpl.h.
References comm, p, and Amm< T, N >::size().
MPI_Comm ampiCommStruct::comm [private] |
CkArrayID ampiCommStruct::ampiID [private] |
int ampiCommStruct::size [private] |
Definition at line 690 of file ampiimpl.h.
Referenced by ampiCommStruct(), final::createOp(), final::getNextCart(), final::getNextDistGraph(), final::getNextGraph(), final::getNextGroup(), final::getNextInter(), final::getNextIntra(), and final::getNextSplit().
AmpiCommType ampiCommStruct::commType [private] |
groupStruct ampiCommStruct::indices [private] |
groupStruct ampiCommStruct::remoteIndices [private] |
ampiTopology* ampiCommStruct::ampiTopo [private] |
Definition at line 695 of file ampiimpl.h.
int ampiCommStruct::topoType [private] |
Definition at line 696 of file ampiimpl.h.
vector<int> ampiCommStruct::keyvals [private] |
std::string ampiCommStruct::commName [private] |