Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_State) | :: | state | ||||
integer, | intent(out) | :: | rc |
subroutine f_esmf_stateprint(state, rc) #undef ESMF_METHOD #define ESMF_METHOD "f_esmf_stateprint" use ESMF_UtilTypesMod use ESMF_LogErrMod use ESMF_BaseMod ! ESMF base class use ESMF_StateMod implicit none type(ESMF_State) :: state integer, intent(out) :: rc integer :: localrc ! Initialize return code; assume routine not implemented rc = ESMF_RC_NOT_IMPL call ESMF_StatePrint(state,rc=localrc) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, & ESMF_CONTEXT, rcToReturn=rc)) return rc = localrc end subroutine f_esmf_stateprint