| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(comm_t), | intent(in) | :: | this |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | color |
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