PPL Logo

ampiCommStruct Class Reference

#include <ampiimpl.h>

Collaboration diagram for ampiCommStruct:

Collaboration graph
[legend]

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
ampiCommStructoperator= (const ampiCommStruct &obj) noexcept
const ampiTopologygetTopologyforNeighbors () const noexcept
ampiTopologygetTopology () noexcept
bool isinter () const noexcept
void setArrayID (const CkArrayID &nID) noexcept
MPI_Comm getComm () const noexcept
vector< intgetIndices () const noexcept
vector< intgetRemoteIndices () 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
ampiTopologyampiTopo
int topoType
vector< intkeyvals
std::string commName

Detailed Description

Definition at line 686 of file ampiimpl.h.


Constructor & Destructor Documentation

ampiCommStruct::ampiCommStruct ( int  ignored = 0  )  [inline]

Definition at line 705 of file ampiimpl.h.

ampiCommStruct::ampiCommStruct ( MPI_Comm  comm_,
const CkArrayID id_,
int  size_ 
) [inline]

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().

Here is the call graph for this function:


Member Function Documentation

ampiCommStruct& ampiCommStruct::operator= ( const ampiCommStruct obj  )  [inline]

Definition at line 754 of file ampiimpl.h.

References comm, and Amm< T, N >::size().

Here is the call graph for this function:

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().

Here is the caller graph for this function:

bool ampiCommStruct::isinter (  )  const [inline]

Definition at line 792 of file ampiimpl.h.

References INTER.

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().

Here is the caller graph for this function:

vector<int> ampiCommStruct::getIndices (  )  const [inline]

Definition at line 796 of file ampiimpl.h.

Referenced by final::group2vec().

Here is the caller graph for this function:

vector<int> ampiCommStruct::getRemoteIndices (  )  const [inline]

Definition at line 797 of file ampiimpl.h.

Referenced by final::getRemoteSize().

Here is the caller graph for this function:

vector<int>& ampiCommStruct::getKeyvals (  )  [inline]

Definition at line 798 of file ampiimpl.h.

Referenced by AMPI_API_IMPL(), and final::getKeyvals().

Here is the caller graph for this function:

void ampiCommStruct::setName ( const char *  src  )  [inline]

Definition at line 800 of file ampiimpl.h.

References CkDDT_SetName(), and src.

Here is the call graph for this function:

void ampiCommStruct::getName ( char *  name,
int len 
) const [inline]

Definition at line 804 of file ampiimpl.h.

References len, length, and name.

CProxy_ampi ampiCommStruct::getProxy (  )  const

Referenced by final::comm2ampi().

Here is the caller graph for this function:

int ampiCommStruct::getIndexForRank ( int  r  )  const [inline]

Definition at line 814 of file ampiimpl.h.

References r, and Amm< T, N >::size().

Here is the call graph for this function:

int ampiCommStruct::getIndexForRemoteRank ( int  r  )  const [inline]

Definition at line 820 of file ampiimpl.h.

References r.

int ampiCommStruct::getRankForIndex ( int  i  )  const [inline]

Definition at line 827 of file ampiimpl.h.

References r.

int ampiCommStruct::getSize ( void   )  const [inline]

Definition at line 837 of file ampiimpl.h.

References Amm< T, N >::size().

Referenced by AMPI_API_IMPL().

Here is the call graph for this function:

Here is the caller graph for this function:

void ampiCommStruct::pup ( PUP::er p  )  [inline]

Definition at line 839 of file ampiimpl.h.

References comm, p, and Amm< T, N >::size().

Here is the call graph for this function:


Field Documentation

Definition at line 688 of file ampiimpl.h.

Referenced by ampiCommStruct().

Definition at line 689 of file ampiimpl.h.

Referenced by ampiCommStruct().

Definition at line 691 of file ampiimpl.h.

Referenced by ampiCommStruct().

Definition at line 692 of file ampiimpl.h.

Referenced by ampiCommStruct().

Definition at line 693 of file ampiimpl.h.

Referenced by ampiCommStruct().

Definition at line 695 of file ampiimpl.h.

Definition at line 696 of file ampiimpl.h.

vector<int> ampiCommStruct::keyvals [private]

Definition at line 699 of file ampiimpl.h.

Referenced by ampiCommStruct().

std::string ampiCommStruct::commName [private]

Definition at line 702 of file ampiimpl.h.

Referenced by ampiCommStruct().


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

Generated on Mon Sep 21 08:17:20 2020 for Charm++ by  doxygen 1.5.5