-----------------------------------------------------------------------------
| 62 | MPI_Comm dolfinx::MPI::Comm::comm() const noexcept { return _comm; } |
| 63 | //----------------------------------------------------------------------------- |
| 64 | int dolfinx::MPI::rank(const MPI_Comm comm) |
| 65 | { |
| 66 | int rank; |
| 67 | int err = MPI_Comm_rank(comm, &rank); |
| 68 | dolfinx::MPI::check_error(comm, err); |
| 69 | return rank; |
| 70 | } |
| 71 | //----------------------------------------------------------------------------- |
| 72 | int dolfinx::MPI::size(const MPI_Comm comm) |
| 73 | { |
nothing calls this directly
no test coverage detected