Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_RouteHandle), | intent(inout) | :: | routehandle | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_RouteHandlePrepXXE(routehandle, rc) ! ! !ARGUMENTS: type(ESMF_RouteHandle), intent(inout) :: routehandle integer, intent(out), optional :: rc ! ! !DESCRIPTION: ! Prepare an {\tt ESMF\_RouteHandle} to be of type ARRAYBUNDLEXXE, and ! ready for {\tt ESMF\_RouteHandleAppend()} calls. ! ! The arguments are: ! \begin{description} ! \item[routehandle] ! {\tt ESMF\_RouteHandle} to be prepared. ! \item[{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} ! !EOPI !------------------------------------------------------------------------------ integer :: localrc ! local return code ! initialize return code; assume routine not implemented localrc = ESMF_RC_NOT_IMPL if (present(rc)) rc = ESMF_RC_NOT_IMPL ESMF_INIT_CHECK_DEEP(ESMF_RouteHandleGetInit,routehandle,rc) call c_ESMC_RouteHandlePrepXXE(routehandle, localrc) if (ESMF_LogFoundError(localrc, & ESMF_ERR_PASSTHRU, & ESMF_CONTEXT, rcToReturn=rc)) return ! Return successfully if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_RouteHandlePrepXXE