Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ESMF_InfoDescribe), | intent(in) | :: | self | |||
type(ESMF_Array), | intent(in) | :: | target | |||
type(ESMF_KeywordEnforcer), | optional | :: | keywordEnforcer | |||
integer, | intent(inout), | optional | :: | rc |
function getInfoArray(self, target, keywordEnforcer, rc) result(info) class(ESMF_InfoDescribe), intent(in) :: self type(ESMF_Array), intent(in) :: target type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below integer, intent(inout), optional :: rc type(ESMF_Info) :: info integer :: localrc type(ESMF_Pointer) :: this localrc = ESMF_FAILURE if (present(rc)) rc = ESMF_RC_NOT_IMPL ESMF_INIT_CHECK_DEEP(ESMF_ArrayGetInit, target, rc) call ESMF_ArrayGetThis(target, this, rc=localrc) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return call ESMF_InfoGetFromPointer(this, info, rc=localrc) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return info%is_view = .true. if (present(rc)) rc = ESMF_SUCCESS end function getInfoArray