Public Member Functions | |
operator bool () | |
DomainDecomposition () | |
void | enable (Communicator &c) |
int | Get_rank () const |
Obtain the rank of the present process. More... | |
int | Get_size () const |
Obtain the number of processes. More... | |
void | Set_comm (MPI_Comm comm) |
Set from a real MPI communicator. More... | |
void | Set_comm (void *comm) |
Set from a pointer to a real MPI communicator (C). More... | |
MPI_Comm & | Get_comm () |
Reference to MPI communicator. More... | |
void | Set_fcomm (void *comm) |
Set from a pointer to a real MPI communicator (FORTRAN). More... | |
void | Abort (int code) |
Wrapper to MPI_Abort. More... | |
void | Barrier () const |
Wrapper to MPI_Barrier. More... | |
void | Sum (Data) |
Wrapper for MPI_Allreduce with MPI_SUM (data struct) More... | |
template<class T > | |
void | Sum (T *buf, int count) |
Wrapper for MPI_Allreduce with MPI_SUM (pointer) More... | |
template<class T > | |
void | Sum (T &buf) |
Wrapper for MPI_Allreduce with MPI_SUM (reference) More... | |
void | Bcast (Data, int) |
Wrapper for MPI_Bcast (data struct) More... | |
template<class T > | |
void | Bcast (T *buf, int count, int root) |
Wrapper for MPI_Bcast (pointer) More... | |
template<class T > | |
void | Bcast (T &buf, int root) |
Wrapper for MPI_Bcast (reference) More... | |
Request | Isend (ConstData, int, int) |
Wrapper for MPI_Isend (data struct) More... | |
template<class T > | |
Request | Isend (const T *buf, int count, int source, int tag) |
Wrapper for MPI_Isend (pointer) More... | |
template<class T > | |
Request | Isend (const T &buf, int source, int tag) |
Wrapper for MPI_Isend (reference) More... | |
void | Allgatherv (ConstData in, Data out, const int *, const int *) |
Wrapper for MPI_Allgatherv (data struct) 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... | |
template<class T , class S > | |
void | Allgatherv (const T &sendbuf, S &recvbuf, const int *recvcounts, const int *displs) |
Wrapper for MPI_Allgatherv (reference) More... | |
void | Allgather (ConstData in, Data out) |
Wrapper for MPI_Allgather (data struct) More... | |
template<class T , class S > | |
void | Allgather (const T *sendbuf, int sendcount, S *recvbuf, int recvcount) |
Wrapper for MPI_Allgatherv (pointer) More... | |
template<class T , class S > | |
void | Allgather (const T &sendbuf, S &recvbuf) |
Wrapper for MPI_Allgatherv (reference) More... | |
void | Recv (Data, int, int, Status &s=StatusIgnore) |
Wrapper for MPI_Recv (data struct) More... | |
template<class T > | |
void | Recv (T *buf, int count, int source, int tag, Status &s=StatusIgnore) |
Wrapper for MPI_Recv (pointer) More... | |
template<class T > | |
void | Recv (T &buf, int source, int tag, Status &s=StatusIgnore) |
Wrapper for MPI_Recv (reference) More... | |
void | Split (int, int, Communicator &) const |
Wrapper to MPI_Comm_split. More... | |
Static Public Member Functions | |
static bool | initialized () |
Tests if MPI library is initialized. More... | |
static Communicator & | Get_world () |
Returns MPI_COMM_WORLD if MPI is initialized, otherwise the default communicator. More... | |
Public Attributes | |
bool | on |
bool | async |
std::vector< int > | g2l |
std::vector< Communicator::Request > | mpi_request_positions |
std::vector< Communicator::Request > | mpi_request_index |
std::vector< double > | positionsToBeSent |
std::vector< double > | positionsToBeReceived |
std::vector< int > | indexToBeSent |
std::vector< int > | indexToBeReceived |
Static Public Attributes | |
static Status | StatusIgnore |
Special status used when status should be ignored. More... | |
|
inline |
|
inherited |
Wrapper to MPI_Abort.
code | Error code |
Wrapper for MPI_Allgather (data struct)
|
inlineinherited |
Wrapper for MPI_Allgatherv (pointer)
|
inlineinherited |
Wrapper for MPI_Allgatherv (reference)
|
inherited |
Wrapper for MPI_Allgatherv (data struct)
|
inlineinherited |
Wrapper for MPI_Allgatherv (pointer)
|
inlineinherited |
Wrapper for MPI_Allgatherv (reference)
|
inherited |
Wrapper to MPI_Barrier.
|
inherited |
Wrapper for MPI_Bcast (data struct)
|
inlineinherited |
Wrapper for MPI_Bcast (pointer)
|
inlineinherited |
Wrapper for MPI_Bcast (reference)
void PLMD::Atoms::DomainDecomposition::enable | ( | Communicator & | c | ) |
|
inherited |
Reference to MPI communicator.
|
inherited |
Obtain the rank of the present process.
|
inherited |
Obtain the number of processes.
|
staticinherited |
Returns MPI_COMM_WORLD if MPI is initialized, otherwise the default communicator.
|
staticinherited |
Tests if MPI library is initialized.
|
inherited |
Wrapper for MPI_Isend (data struct)
|
inlineinherited |
Wrapper for MPI_Isend (pointer)
|
inlineinherited |
Wrapper for MPI_Isend (reference)
|
inline |
|
inherited |
Wrapper for MPI_Recv (data struct)
|
inlineinherited |
Wrapper for MPI_Recv (pointer)
|
inlineinherited |
Wrapper for MPI_Recv (reference)
|
inherited |
Set from a real MPI communicator.
comm | MPI communicator |
|
inherited |
Set from a pointer to a real MPI communicator (C).
comm | Pointer to a C 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 (pointer)
|
inlineinherited |
Wrapper for MPI_Allreduce with MPI_SUM (reference)
bool PLMD::Atoms::DomainDecomposition::async |
std::vector<int> PLMD::Atoms::DomainDecomposition::g2l |
std::vector<int> PLMD::Atoms::DomainDecomposition::indexToBeReceived |
std::vector<int> PLMD::Atoms::DomainDecomposition::indexToBeSent |
std::vector<Communicator::Request> PLMD::Atoms::DomainDecomposition::mpi_request_index |
std::vector<Communicator::Request> PLMD::Atoms::DomainDecomposition::mpi_request_positions |
bool PLMD::Atoms::DomainDecomposition::on |
std::vector<double> PLMD::Atoms::DomainDecomposition::positionsToBeReceived |
std::vector<double> PLMD::Atoms::DomainDecomposition::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.10 |