![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Functions related to the MPI communicator. More...
Include dependency graph for worldInfo.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shamcomm |
| namespace for communication related stuff | |
Macros | |
| #define | ON_RANK_0(x) |
| Macro to execute code only on rank 0. | |
Functions | |
| i32 | shamcomm::world_rank () |
| Gives the rank of the current process in the MPI communicator. | |
| i32 | shamcomm::world_size () |
| Gives the size of the MPI communicator. | |
| i32 | shamcomm::mpi_max_tag_value () |
| Gets the maximum value of the MPI tag. | |
| std::string | shamcomm::mpi_process_name () |
| Gets the name of the MPI process. | |
| void | shamcomm::fetch_world_info () |
| Gets the information about the MPI communicator. | |
| bool | shamcomm::is_mpi_initialized () |
| Check if MPI is initialized. | |
Functions related to the MPI communicator.
This header provides functions to get information about the MPI communicator.
Definition in file worldInfo.hpp.
| #define ON_RANK_0 | ( | x | ) |
Macro to execute code only on rank 0.
Definition at line 73 of file worldInfo.hpp.