Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_DistGridConnection), | intent(out) | :: | connection | |||
integer, | intent(in) | :: | farray(:) | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_DistGridConnectionSetIntl(connection, farray, rc) ! ! !ARGUMENTS: type(ESMF_DistGridConnection),intent(out) :: connection integer, intent(in) :: farray(:) integer, intent(out), optional:: rc ! ! ! !DESCRIPTION: ! ! The arguments are: ! \begin{description} ! \item[connection] ! DistGridConnection object. ! \item[{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} ! !EOP !------------------------------------------------------------------------------ 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 connection%elementCount = size(farray) connection%connection(1:size(farray)) = farray(1:size(farray)) ! mark output as successfully initialized ESMF_INIT_SET_DEFINED(connection) ! return successfully if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_DistGridConnectionSetIntl