![]() |
PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Struct that stores MPI-related information. More...
#include <parallelUtil.h>
Public Member Functions | |
| MpiStatus () | |
| Constructor. | |
| std::string | printStr (int nt=0, int lvl=0) const |
| Returns the string containing printable information about the object. | |
Data Fields | |
| bool | d_mpiEnabled |
| Specifies if MPI is enabled (yes if code executed with more than one processor) | |
| int | d_mpiSize |
| Size (number) of processors. | |
| int | d_mpiRank |
| Rank (id) of this processor. | |
| MPI_Comm | d_comm |
| MPI comm. | |
Struct that stores MPI-related information.
Definition at line 23 of file parallelUtil.h.
| util::parallel::MpiStatus::MpiStatus | ( | ) |
Constructor.
Definition at line 33 of file parallelUtil.cpp.
References d_comm, d_mpiEnabled, d_mpiRank, and d_mpiSize.
| std::string util::parallel::MpiStatus::printStr | ( | int | nt = 0, |
| int | lvl = 0 |
||
| ) | const |
Returns the string containing printable information about the object.
| nt | Number of tabs to append before printing |
| lvl | Information level (higher means more information) |
Definition at line 40 of file parallelUtil.cpp.
| MPI_Comm util::parallel::MpiStatus::d_comm |
MPI comm.
Definition at line 35 of file parallelUtil.h.
Referenced by util::parallel::mpiComm(), and MpiStatus().
| bool util::parallel::MpiStatus::d_mpiEnabled |
Specifies if MPI is enabled (yes if code executed with more than one processor)
Definition at line 26 of file parallelUtil.h.
Referenced by util::parallel::isMpiEnabled(), and MpiStatus().
| int util::parallel::MpiStatus::d_mpiRank |
Rank (id) of this processor.
Definition at line 32 of file parallelUtil.h.
Referenced by util::parallel::mpiRank(), and MpiStatus().
| int util::parallel::MpiStatus::d_mpiSize |
Size (number) of processors.
Definition at line 29 of file parallelUtil.h.
Referenced by util::parallel::mpiSize(), and MpiStatus().