Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Base), | intent(inout) | :: | base | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_BaseSetInitCreated(base, rc) ! ! !ARGUMENTS: type(ESMF_Base), intent(inout) :: base integer, intent(out), optional :: rc ! ! ! !DESCRIPTION: ! Set init code in Base object to "CREATED". ! ! The arguments are: ! \begin{description} ! \item[base] ! Specified {\tt ESMF\_Base} object. ! \item[{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} ! !EOPI !------------------------------------------------------------------------------ integer :: localrc ! local return code ! Assume failure until success if (present(rc)) rc = ESMF_RC_NOT_IMPL localrc = ESMF_RC_NOT_IMPL ! Set init code ESMF_INIT_SET_CREATED(base) ! Return success if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_BaseSetInitCreated