Determines if this rank is the root rank.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(parallel_obj), | intent(in) | :: | this |
Parallel object |
Result
pure function parallel_obj_RankIsRoot(this) result (val) !> Determines if this rank is the root rank. implicit none class(parallel_obj), intent(in) :: this !! Parallel object logical :: val !! Result if (this%rank%mine.eq.this%RootRank) then val = .true. else val = .false. end if return end function parallel_obj_RankIsRoot