send a command via the CommLib
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mimic_communicator), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | command | integer code of the command |
||
integer, | intent(in) | :: | dest | destination |
subroutine send_command(this, command, dest)
implicit none
class(mimic_communicator), intent(inout) :: this
!> integer code of the command
integer, intent(in) :: command
!> destination
integer, intent(in) :: dest
call MCL_send(command, 1, MCL_COMMAND, dest)
end subroutine send_command