comm_discard_leader Function

private function comm_discard_leader(this) result(new_comm)

Type Bound

comm_t

Arguments

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

Return Value type(comm_t)


Variables

Type Visibility Attributes Name Initial
integer, private :: color

Source Code

   function comm_discard_leader(this) result(new_comm)
      class(comm_t), intent(in) :: this
      type(comm_t) :: new_comm
      integer :: color

      ! Every split of one rank is that rank.
      new_comm = this
   end function comm_discard_leader