Returns the 0-indexed rank of the calling process
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(comm_t), | intent(in) | :: | this |
pure function comm_rank(this) result(rank) !! !! Returns the 0-indexed rank of the calling process class(comm_t), intent(in) :: this integer :: rank rank = this%m_rank end function comm_rank