![]() |
OpenLB 1.8.1
|
Helper class for non blocking MPI communication. More...
#include <mpiManager.h>
Collaboration diagram for olb::singleton::MpiNonBlockingHelper:Public Member Functions | |
| MpiNonBlockingHelper () | |
| ~MpiNonBlockingHelper ()=default | |
| MpiNonBlockingHelper (MpiNonBlockingHelper &&rhs)=default | |
| MpiNonBlockingHelper (const MpiNonBlockingHelper &)=delete | |
| MpiNonBlockingHelper & | operator= (const MpiNonBlockingHelper &)=delete |
| void | allocate (unsigned i) |
| Allocates memory. | |
| void | free () |
| Reset. | |
| unsigned | get_size () const |
| Returns the size of the vector _mpiRequest/_mpiStatus. | |
| MPI_Request * | get_mpiRequest (int i=0) const |
| Get the specified request object. | |
| MPI_Status * | get_mpiStatus (int i=0) const |
| Get the specified status object. | |
| void | start (int i) |
| void | wait (int i) |
| bool | isDone (int i) |
| void | swap (MpiNonBlockingHelper &rhs) |
| Swap method. | |
Helper class for non blocking MPI communication.
Definition at line 51 of file mpiManager.h.
| olb::singleton::MpiNonBlockingHelper::MpiNonBlockingHelper | ( | ) |
Definition at line 1743 of file mpiManager.cpp.
|
default |
|
default |
|
delete |
| void olb::singleton::MpiNonBlockingHelper::allocate | ( | unsigned | i | ) |
Allocates memory.
Definition at line 1754 of file mpiManager.cpp.
References free().
Here is the call graph for this function:
Here is the caller graph for this function:| void olb::singleton::MpiNonBlockingHelper::free | ( | ) |
Reset.
Definition at line 1762 of file mpiManager.cpp.
Here is the caller graph for this function:| MPI_Request * olb::singleton::MpiNonBlockingHelper::get_mpiRequest | ( | int | i = 0 | ) | const |
Get the specified request object.
Definition at line 1772 of file mpiManager.cpp.
References OLB_PRECONDITION.
Here is the caller graph for this function:| MPI_Status * olb::singleton::MpiNonBlockingHelper::get_mpiStatus | ( | int | i = 0 | ) | const |
Get the specified status object.
Definition at line 1778 of file mpiManager.cpp.
References OLB_PRECONDITION.
Here is the caller graph for this function:| unsigned olb::singleton::MpiNonBlockingHelper::get_size | ( | ) | const |
Returns the size of the vector _mpiRequest/_mpiStatus.
Definition at line 1767 of file mpiManager.cpp.
Here is the caller graph for this function:| bool olb::singleton::MpiNonBlockingHelper::isDone | ( | int | i | ) |
Definition at line 1794 of file mpiManager.cpp.
References get_mpiRequest().
Here is the call graph for this function:
|
delete |
| void olb::singleton::MpiNonBlockingHelper::start | ( | int | i | ) |
Definition at line 1784 of file mpiManager.cpp.
References get_mpiRequest().
Here is the call graph for this function:| void olb::singleton::MpiNonBlockingHelper::swap | ( | MpiNonBlockingHelper & | rhs | ) |
Swap method.
Definition at line 1747 of file mpiManager.cpp.
| void olb::singleton::MpiNonBlockingHelper::wait | ( | int | i | ) |
Definition at line 1789 of file mpiManager.cpp.
References get_mpiRequest(), and get_mpiStatus().
Here is the call graph for this function: