Public Member Functions | |
DomainComms () | |
void | Abort (int code) |
Wrapper to MPI_Abort. More... | |
template<class T , class S > | |
void | Allgather (const T &sendbuf, S &recvbuf) |
Wrapper for MPI_Allgatherv (reference) More... | |
template<class T , class S > | |
void | Allgather (const T *sendbuf, int sendcount, S *recvbuf, int recvcount) |
Wrapper for MPI_Allgatherv (pointer) More... | |
void | Allgather (ConstData in, Data out) |
Wrapper for MPI_Allgather (data struct) More... | |
template<class T , class S > | |
void | Allgatherv (const T &sendbuf, S &recvbuf, const int *recvcounts, const int *displs) |
Wrapper for MPI_Allgatherv (reference) More... | |
template<class T , class S > | |
void | Allgatherv (const T *sendbuf, int sendcount, S *recvbuf, const int *recvcounts, const int *displs) |
Wrapper for MPI_Allgatherv (pointer) More... | |
void | Allgatherv (ConstData in, Data out, const int *, const int *) |
Wrapper for MPI_Allgatherv (data struct) More... | |
void | Barrier () const |
Wrapper to MPI_Barrier. More... | |
void | Bcast (Data, int) |
Wrapper for MPI_Bcast (data struct) More... | |
template<class T > | |
void | Bcast (T &buf, int root) |
Wrapper for MPI_Bcast (reference) More... | |
template<class T > | |
void | Bcast (T *buf, int count, int root) |
Wrapper for MPI_Bcast (pointer) More... | |
void | enable (Communicator &c) |
MPI_Comm & | Get_comm () |
Reference to MPI communicator. More... | |
int | Get_rank () const |
Obtain the rank of the present process. More... | |
int | Get_size () const |
Obtain the number of processes. More... | |
template<class T > | |
Request | Isend (const T &buf, int source, int tag) |
Wrapper for MPI_Isend (reference) More... | |
template<class T > | |
Request | Isend (const T *buf, int count, int source, int tag) |
Wrapper for MPI_Isend (pointer) More... | |
Request | Isend (ConstData, int, int) |
Wrapper for MPI_Isend (data struct) More... | |
void | Max (Data) |
Wrapper for MPI_Allreduce with MPI_MAX (data struct) More... | |
template<class T > | |
void | Max (T &buf) |
Wrapper for MPI_Allreduce with MPI_MAX (reference) More... | |
template<class T > | |
void | Max (T *buf, int count) |
Wrapper for MPI_Allreduce with MPI_MAX (pointer) More... | |
void | Min (Data) |
Wrapper for MPI_Allreduce with MPI_MIN (data struct) More... | |
template<class T > | |
void | Min (T &buf) |
Wrapper for MPI_Allreduce with MPI_MIN (reference) More... | |
template<class T > | |
void | Min (T *buf, int count) |
Wrapper for MPI_Allreduce with MPI_MIN (pointer) More... | |
operator bool () const | |
void | Prod (Data) |
Wrapper for MPI_Allreduce with MPI_PROD (data struct) More... | |
template<class T > | |
void | Prod (T &buf) |
Wrapper for MPI_Allreduce with MPI_PROD (reference) More... | |
template<class T > | |
void | Prod (T *buf, int count) |
Wrapper for MPI_Allreduce with MPI_PROD (pointer) More... | |
void | Recv (Data, int, int, Status &s=StatusIgnore) |
Wrapper for MPI_Recv (data struct) More... | |
template<class T > | |
void | Recv (T &buf, int source, int tag, Status &s=StatusIgnore) |
Wrapper for MPI_Recv (reference) More... | |
template<class T > | |
void | Recv (T *buf, int count, int source, int tag, Status &s=StatusIgnore) |
Wrapper for MPI_Recv (pointer) More... | |
void | Set_comm (const TypesafePtr &comm) |
Set from a pointer to a real MPI communicator (C). More... | |
void | Set_comm (MPI_Comm comm) |
Set from a real MPI communicator. More... | |
void | Set_fcomm (const TypesafePtr &comm) |
Set from a pointer to a real MPI communicator (FORTRAN). More... | |
void | Split (int, int, Communicator &) const |
Wrapper to MPI_Comm_split. More... | |
void | Sum (Data) |
Wrapper for MPI_Allreduce with MPI_SUM (data struct) More... | |
template<class T > | |
void | Sum (T &buf) |
Wrapper for MPI_Allreduce with MPI_SUM (reference) More... | |
template<class T > | |
void | Sum (T *buf, int count) |
Wrapper for MPI_Allreduce with MPI_SUM (pointer) More... | |
Static Public Member Functions | |
static bool | initialized () |
Tests if MPI library is initialized. More... | |
static bool | plumedHasMPI () |
Runtime acces to the __PLUMED_HAS_MPI definition. More... | |
Public Attributes | |
bool | async |
std::vector< int > | indexToBeReceived |
std::vector< int > | indexToBeSent |
std::vector< Communicator::Request > | mpi_request_index |
std::vector< Communicator::Request > | mpi_request_positions |
bool | on |
std::vector< double > | positionsToBeReceived |
std::vector< double > | positionsToBeSent |
Static Public Attributes | |
static Status | StatusIgnore |
Special status used when status should be ignored. More... | |
Static Private Member Functions | |
template<class T > | |
static MPI_Datatype | getMPIType () |
Function returning the MPI type. More... | |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
template<> | |
MPI_Datatype | getMPIType () |
Private Attributes | |
MPI_Comm | communicator |
Communicator. More... | |
|
inline |
|
inherited |
Wrapper to MPI_Abort.
code | Error code |
|
inlineinherited |
Wrapper for MPI_Allgatherv (reference)
|
inlineinherited |
Wrapper for MPI_Allgatherv (pointer)
Wrapper for MPI_Allgather (data struct)
|
inlineinherited |
Wrapper for MPI_Allgatherv (reference)
|
inlineinherited |
Wrapper for MPI_Allgatherv (pointer)
|
inherited |
Wrapper for MPI_Allgatherv (data struct)
|
inherited |
Wrapper to MPI_Barrier.
|
inherited |
Wrapper for MPI_Bcast (data struct)
|
inlineinherited |
Wrapper for MPI_Bcast (reference)
|
inlineinherited |
Wrapper for MPI_Bcast (pointer)
void PLMD::DomainDecomposition::DomainComms::enable | ( | Communicator & | c | ) |
|
inherited |
Reference to MPI communicator.
|
inherited |
Obtain the rank of the present process.
|
inherited |
Obtain the number of processes.
|
staticprivateinherited |
Function returning the MPI type.
You can use it to access to the MPI type of a C++ type, e.g. MPI_Datatype type=getMPIType<double>();
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticprivateinherited |
|
staticinherited |
Tests if MPI library is initialized.
|
inlineinherited |
Wrapper for MPI_Isend (reference)
|
inlineinherited |
Wrapper for MPI_Isend (pointer)
|
inherited |
Wrapper for MPI_Isend (data struct)
|
inherited |
Wrapper for MPI_Allreduce with MPI_MAX (data struct)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_MAX (reference)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_MAX (pointer)
|
inherited |
Wrapper for MPI_Allreduce with MPI_MIN (data struct)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_MIN (reference)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_MIN (pointer)
|
inline |
|
staticinherited |
Runtime acces to the __PLUMED_HAS_MPI definition.
|
inherited |
Wrapper for MPI_Allreduce with MPI_PROD (data struct)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_PROD (reference)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_PROD (pointer)
|
inherited |
Wrapper for MPI_Recv (data struct)
|
inlineinherited |
Wrapper for MPI_Recv (reference)
|
inlineinherited |
Wrapper for MPI_Recv (pointer)
|
inherited |
Set from a pointer to a real MPI communicator (C).
comm | Pointer to a C MPI communicator |
|
inherited |
Set from a real MPI communicator.
comm | MPI communicator |
|
inherited |
Set from a pointer to a real MPI communicator (FORTRAN).
comm | Pointer to a FORTRAN MPI communicator (INTEGER) |
|
inherited |
Wrapper to MPI_Comm_split.
|
inherited |
Wrapper for MPI_Allreduce with MPI_SUM (data struct)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_SUM (reference)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_SUM (pointer)
bool PLMD::DomainDecomposition::DomainComms::async |
|
privateinherited |
std::vector<int> PLMD::DomainDecomposition::DomainComms::indexToBeReceived |
std::vector<int> PLMD::DomainDecomposition::DomainComms::indexToBeSent |
std::vector<Communicator::Request> PLMD::DomainDecomposition::DomainComms::mpi_request_index |
std::vector<Communicator::Request> PLMD::DomainDecomposition::DomainComms::mpi_request_positions |
bool PLMD::DomainDecomposition::DomainComms::on |
std::vector<double> PLMD::DomainDecomposition::DomainComms::positionsToBeReceived |
std::vector<double> PLMD::DomainDecomposition::DomainComms::positionsToBeSent |
|
staticinherited |
Special status used when status should be ignored.
E.g. Recv(a,0,1,Communicator::StatusIgnore);
Notice that this is the default for Recv, so this is equivalent to Recv(a,0,1);
Hosted by GitHub | 1.8.17 |