comm_leader Function

private pure function comm_leader(this) result(is_leader)

Returns true if the calling process has rank 0

Type Bound

comm_t

Arguments

Type IntentOptional Attributes Name
class(comm_t), intent(in) :: this

Return Value logical


Source Code

   pure function comm_leader(this) result(is_leader)
   !! Returns true if the calling process has rank 0
      class(comm_t), intent(in) :: this
      logical :: is_leader
      is_leader = .true.
   end function comm_leader