Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_StateItem), | intent(inout) | :: | si | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_StateItemValidate(si, rc) ! ! !ARGUMENTS: type(ESMF_StateItem), intent(inout) :: si integer, intent(out), optional :: rc ! ! ! !DESCRIPTION: ! Validates that the {\tt si} is internally consistent. ! The method returns an error code if problems are found. ! ! The arguments are: ! \begin{description} ! \item[si] ! Specified {\tt ESMF\_StateItem} 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 ! Check init status of arguments ESMF_INIT_CHECK_SET_SHALLOW(ESMF_StateItemGetInit, ESMF_StateItemInit,si) ! Return success if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_StateItemValidate