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