Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_ArraySpec), | intent(in) | :: | arrayspec | |||
type(ESMF_KeywordEnforcer), | optional | :: | keywordEnforcer | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_ArraySpecPrint(arrayspec, keywordEnforcer, rc) ! ! !ARGUMENTS: type(ESMF_ArraySpec), intent(in) :: arrayspec type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below integer, intent(out), optional :: rc ! ! !STATUS: ! \begin{itemize} ! \item\apiStatusCompatibleVersion{5.2.0r} ! \end{itemize} ! ! !DESCRIPTION: ! Print ArraySpec internals. \\ ! ! The arguments are: ! \begin{description} ! \item[arrayspec] ! Specified {\tt ESMF\_ArraySpec} object. ! \item[{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} ! !EOP ! !REQUIREMENTS: SSSn.n, GGGn.n !------------------------------------------------------------------------------ ! Assume failure until success if (present(rc)) rc = ESMF_RC_NOT_IMPL ! Check init status of arguments ESMF_INIT_CHECK_SHALLOW(ESMF_ArraySpecGetInit, arrayspec, rc) write(ESMF_UtilIOStdout, *) "ArraySpec Print Begins =====>" write(ESMF_UtilIOStdout, *) " rank = ", arrayspec%rank write(ESMF_UtilIOStdout, *) " typekind = ", arrayspec%typekind write(ESMF_UtilIOStdout, *) "ArraySpec Print Ends =====>" ! return successfully if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_ArraySpecPrint