Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Base), | intent(inout) | :: | base | |||
type(ESMF_VMId), | intent(in) | :: | vmid | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_BaseSetVMId (base, vmid, rc) ! ! !ARGUMENTS: type(ESMF_Base), intent(inout) :: base type(ESMF_VMId), intent(in) :: vmid integer, intent(out), optional :: rc ! ! !DESCRIPTION: ! Set the VMId of any type in the system. ! ! The arguments are: ! \begin{description} ! \item[base] ! Base object of any ESMF type. ! \item[vmid] ! The vmid of the Base object. ! \item[{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} ! !EOPI integer :: localrc ! Initialize return code; assume routine not implemented if (present(rc)) rc = ESMF_RC_NOT_IMPL localrc = ESMF_RC_NOT_IMPL call c_ESMC_SetVMID(base , vmid, localrc) if (present(rc)) rc = localrc end subroutine ESMF_BaseSetVMId